#PB_Default for SetGadgetColor()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
AND51
Addict
Addict
Posts: 1040
Joined: Sun Oct 15, 2006 8:56 pm
Location: Germany
Contact:

#PB_Default for SetGadgetColor()

Post by AND51 »

Hello!

SetGadgetFont() supports #PB_Default to change the font-family for all future gadgets at once.
IMHO it would be nice, if we had this also with the gadget colors, for example

Code: Select all

SetGadgetColor(#PB_Default, #PB_Gadget_BackColor, #White)
PB 4.30

Code: Select all

onErrorGoto(?Fred)