Restored from previous forum. Originally posted by LJ.
TextGadget(#Gadget, x, y, Width, Heigth, Text$ [, Flags])
#PB_Text_BKCOLOR: The text background color (R,G,B)
#PB_Text_COLOR: The text color (R,G,B)
TRANSPARENT TextGadget Flag...
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by tinman.
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
How do you propose you store the RGB values in the flags?Originally posted by LJ
#PB_Text_BKCOLOR: The text background color (R,G,B)
#PB_Text_COLOR: The text color (R,G,B)
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by LJ.
TextGadget(#Gadget, x, y, Width, Heigth, Text$ [, Flags])
#PB_Text_BKCOLOR: The text background color (R,G,B)
#PB_Text_COLOR: The text color (R,G,B)
COLOR = RGB(Red, Green, Blue)
TextGadget(#Gadget, x, y, Width, Heigth, Text$, #PB_Text_BKCOLOR(COLOR))
TextGadget(#Gadget, x, y, Width, Heigth, Text$ [, Flags])
#PB_Text_BKCOLOR: The text background color (R,G,B)
#PB_Text_COLOR: The text color (R,G,B)
COLOR = RGB(Red, Green, Blue)
TextGadget(#Gadget, x, y, Width, Heigth, Text$, #PB_Text_BKCOLOR(COLOR))
-
- PureBasic Guru
- Posts: 16777133
- Joined: Tue Apr 22, 2003 7:42 pm
Restored from previous forum. Originally posted by plouf.
AFAIK Constants cannot dynamically take parameters
for such a fuction i bellieve it would be better for a
commmand in the form of SetGadgetColor(#gadget,Color,BAck/FrontColor)
(like someone has post a custom way to do it some time ago)
Christos
AFAIK Constants cannot dynamically take parameters
for such a fuction i bellieve it would be better for a
commmand in the form of SetGadgetColor(#gadget,Color,BAck/FrontColor)
(like someone has post a custom way to do it some time ago)
Christos