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
PanelGadgetLabels
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
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
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
-
BackupUser
- PureBasic Guru

- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm