Neil,
can you provide some sample code on how to do it with a gadget.
thanks
luis
From: Neil Whitworth <[EMAIL PROTECTED]>
Reply-To: "Palm Developer Forum" <[email protected]>
To: "Palm Developer Forum" <[email protected]>
Subject: Re: changing color in a text field
Date: Tue, 31 Jul 2007 11:14:50 +0100
[EMAIL PROTECTED] wrote:
I want to output a variable length string of numbers to screen in response
to some actions. I would like some of these numbers to be in different
colors then the rest (depending on the number that comes up).
I'm new to this, but as i understand it for this kind of output in general
using a textfield in my form is the easiest way to go. I can see how to
use it for the simple output.
However, I can't figure out how to only change the color of a single
character in the middle of the field. I can only see how to change the
color of ALL the text in the textfield at the same time.
Is there a way to output individual characters in different colors?
If not, what is the next easiest way to have this type of output in my
form?
Thanks.
Short answer is you can't do it with a field (*) It is a single block of
text drawn in a single font & colour.
You can do it with a gadget, but you will have to do all of the work your
self. You will loose all the automatic word wraping & scroling
functionality of a field.
* The Treo devices have a library called smart text that gives a lot of
additional functionality like hyper lings for web addresses & telephone
numbers. It is only on the treos & I have never tried using it.
--
For information on using the ACCESS Developer Forums, or to unsubscribe,
please see http://www.access-company.com/developers/forums/
_________________________________________________________________
Tease your brain--play Clink! Win cool prizes!
http://club.live.com/clink.aspx?icid=clink_hotmailtextlink2
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/forums/