Page 1 of 1
Posted: Fri Mar 28, 2003 4:40 am
by BackupUser
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)
Posted: Fri Mar 28, 2003 8:45 am
by BackupUser
Restored from previous forum. Originally posted by tinman.
Originally posted by LJ
#PB_Text_BKCOLOR: The text background color (R,G,B)
#PB_Text_COLOR: The text color (R,G,B)
How do you propose you store the RGB values in the flags?
--
I used to be a nihilist but I don't believe in that any more.
(Win98first ed. + all updates, PB3.62, external editor)
Posted: Sat Mar 29, 2003 5:51 am
by BackupUser
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))
Posted: Sat Mar 29, 2003 7:53 am
by BackupUser
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