Page 1 of 1

PostPosted: Sat Feb 07, 2004 12:20 pm
by Mikael
Is it possible to change the text colour in a dynamic field? I've tried variations of the following:

SetTextColor(0xE5);//or 229 rgb

and nothing works.

Thanks in advance,


PostPosted: Sat Feb 07, 2004 2:51 pm
by jstadolnik
Use the UIColor() function. There are some catches though...

1) PalmOS field text can only be of one color... no multi-color text (note: The developers of some word processing apps have created their own custom fields from scratch to support multi-colored text).

2) Fields in palmOS don't have thier own unique color tags, thus they are generally all of the same color for a given form. Though, it may be possible to work around this by changing the global field color appropriately every time a field enter event occurs.


The PToolboxLib guy.

PostPosted: Mon Feb 09, 2004 1:41 pm
by dcalp
Hi Mikael:
You could take a look to the trial version of my software to catch some tips for coloring edit fields.



Pocket VisualForms
Visual design for PocketC