Replacing a folder? [Solved]

Started by martinp, July 30, 2024, 08:41:32 PM

Previous topic - Next topic

martinp

I have 5 folders, and the second folder say folder "B" I want a different panel to be there based on certain conditions on entering the main program.

I used to be able to easily set _F_OBJ$[2,0]="NEW_FOLDER.FD2"  (I want an entirely new Nomads panel there not just switch tabs)

However this is no longer possible.

I am trying to use FLDR'GetPanelNames$() and FLDR'SetPanelNames$() I am struggling to figure out when or how this works as it just isn't working for me.

$01$+"FLDR1"+$01$+"FLDR2"+$01  It just doesnt seem to save it.  I tried a FDLR.ReDraw() and it seemed to do something but not what I want.

If I find the answer I'll post.  Right now I am stuck.  Thanks

martinp

I set it on FOP but it doesn't stick once the panel is up.

martinp

I figured it out.

let X=FLDR'GETTAB(2); let X'PANELNAME$="MYNEWFOLDER.EXT"