Thank you, Steve,
but FldDirty() does not help me.

FldDirty() returns true after the field has been modified,
even if undo is not available.

For example, 
---
1. One character is entered
2. The character is deleted by backspace
3. Undo (The character is restored)
4. Undo is not available here, but
   FldDirty() returns true.
---


At Sun, 23 Nov 2003 22:39:33 +0100 "steve" <[EMAIL PROTECTED]> wrote:
>Date: Sun, 23 Nov 2003 22:39:33 +0100
>From: "steve" <[EMAIL PROTECTED]>
>Reply-To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>To: "Palm Developer Forum" <[EMAIL PROTECTED]>
>Subject: RE: How do I know whether undo is available?
>
>Perhaps the dirty bit can help you: FldDirty()
>
Subject: How do I know whether undo is available?
>> 
>> Hello,
>> 
>> I am writing an application that has an field, which user can
>> edit arbitrarily. I want to show my special undo-button
>> only if there is an action to undo for the field. I want to
>> hide it otherwise.
>> How do I know whether there is an action to undo or not?

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

Reply via email to