On Fri, 1 Mar 2002 [EMAIL PROTECTED] wrote:
> Hey!  I have a simple problem.  What I said was
>
> if(x<=111)
> {
> StrIToA(&xChar,x);
> WinDrawChars(&xChar,StrLen(&xChar),113,35);
> }
>
> But when x gets past "99",  it leaves an extra un needed digit.  I tried a
> few things like WinEraseChars but those methods didn't work or atleast how I
> used them.  Any help would be appreciated!  Thanks!

  well, if you call WinEraseChars with the *previous* string :) it will
  make the area where the text was white and then you can draw your new
  string. another solution (probably better) is to use a Field object
  that doesn't allow data entry and just let the operating system sort
  out how things are redrawn :)

// az
[EMAIL PROTECTED]
http://www.ardiri.com/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to