Hi All,

I have two fields on a form.  When a "problem" occurs,
I do a FrmCustomAlert() with the error message, which
only covers the bottom field when it pops up.

The problem is that when the dialog goes away, you
can't clear the (previous) contents of the upper
field.

I've tried everything I could think of to zap the
field and have it redrawn without success.. 
including:

FldGetBounds(fldP, &rect);
WinEraseRectangle(&rect, 0);


FldGetSelection(fldP, &sPos, &ePos);
FldSetSelection(fldP, 0, ePos);
FldDelete(fldP, 0, ePos);


FldEraseField(fldP);


Many times I get a FldGetTextLength() of zero, even
though there is some "text" there..

Nothing seems to work, I've tried doing things above
and below the FrmDrawForm()..

After you hit the dialog's "Ok" I get a
frmUpdateEvent, where I try to do all this..

Any suggestions on what else I can try?



Thanks,


Joe Siebenmann

__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

Reply via email to