Page 1 of 1

Posted: Thu Jul 04, 2002 5:20 pm
by BackupUser
Restored from previous forum. Originally posted by naw.

Anyone know of a way to change the *Labels* of a PanelGadget without redrawing the GUI?

Ta - NAW

Posted: Thu Jul 04, 2002 9:09 pm
by BackupUser
Restored from previous forum. Originally posted by WolfgangS.

This changes the label of the activ panel:
SetGadgetItemText(#PanelGadgetID,GetGadgetState(#PanelGadgetID),"newname",0)

This changes the label of the 5rd panel: (starting 0 ...)
SetGadgetItemText(#PanelGadgetID,4,"newname",0)


Cu
WolfgangS

Posted: Fri Jul 05, 2002 8:36 am
by BackupUser
Restored from previous forum. Originally posted by naw.

Hey Thanks Wolfgang, Stupid me - I got so used to using the "-1" parameter to add panels, I totally forgot I could set a *real* position - duh! :wink:

Ta - N