Hello Michael,
This is reagrding above replay send by u to me.
Is there is no way to make center justify text field?If yes how?
I can do this using WinDrawChars(...) but problem is it will not clear
previous text
I tried to clear it using winclear method but no use.]
Regards,
Ravi
----- Original Message -----
From: "Michael Glickman" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, November 28, 2001 12:51 PM
Subject: RE: How to center justify text in text field.
> Use FntCharsWidth
>
> This is a rough example:
>
> x = (total_width - FntCharsWidth(MyString, StrLen(MyString))) >> 1;
>
>
> Michael
>
>
> -----Original Message-----
> From: Gavin Maxwell [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, 28 November 2001 5:42 PM
> To: Palm Developer Forum
> Subject: RE: How to center justify text in text field.
>
>
> Might be easier to ditch the field and use WinDrawChars(...) and calculate
> the justification yourself - pretty simple.
>
> Gavin.
>
> -----Original Message-----
> From: Ravindra [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 6 September 2001 4:32 PM
> To: Palm Developer Forum
> Subject: How to center justify text in text field.
>
>
> Hi Friends,
> Can any body help me to set center justify text field.
> In my application my test field value is continus changes within say 5
times
> in a second and it will be display different length size text with
different
> font setting.
> So I want my text field to center justify .
> How to do this?
> Thanx in advance.
> regards,
> Ravi
>
>
> --------------------------------------------------------------
> Nova Software, Mumbai, India
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
> please see http://www.palmos.com/dev/tech/support/forums/
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
>
--------------------------------------------------------------
Nova Software, Mumbai, India
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/