SetGadgetColor for ButtonGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

SetGadgetColor for ButtonGadget

Post by PB »

This is not yet possible? :shock:
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: SetGadgetColor for ButtonGadget

Post by Danilo »

Buttons have their own skin/appearance on different operating systems, so they look native.
Native style can be multi colors or gradient colors.
For creating own button styles, we have the ButtonImageGadget and CanvasGadget.
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: SetGadgetColor for ButtonGadget

Post by PB »

Thanks for explaining... but all I wanted to do was have
red text instead of black (for warnings, etc). Oh well.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
Post Reply