Page 1 of 1

PostPosted: Sat Aug 31, 2002 10:26 pm
by tthkbw
I'm using resource forms and would like to create my buttons with colors, for example, a blue background and white foreground text and I'm not getting anywhere.

I used the PickColor() function to figure out the values for my colors and it worked fine. Then I do this:

SetDepth(4);
Fctl(LOAD,MYFORM); //a resource form with buttons
SetFore(WHITE);
SetBack(BLUE);
Fctl(DRAW,MYFORM);

But I don't get any colors.

The SetDepth does not return an invalid code. I am running the 3.5 ROM on POSE. Other apps show on POSE, as do the icons I created for my application.

Help??


tthkbw

PostPosted: Sun Sep 01, 2002 1:15 am
by jstadolnik
See the UIColor() function in the forms section.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm

PostPosted: Sun Sep 01, 2002 1:15 am
by jstadolnik
See the UIColor() function in the forms section.

Joe

The PToolboxLib guy.
http://www.geocities.com/retro_01775/PToolboxLib.htm