At 1:06 PM -0500 12/18/99, Tim Hewitt wrote:
>If a field currently contains the number 14, and the user changes it to 140,
>it's an out of range number in that particular field. How do I know when he's
>finished editing the field so I can check it? 120 is a legal number, anything
>greater is not. He can certainly add a zero to 14, then change the 4
>to a 2 and
>that would be a perfectly legal editing sequence. He doesn't have to go to any
>other field on the form to be finished editing, only to select the
>OK or Cancel
>buttons to exit.
So after he hits the OK button, THEN run your verification routine.
>
>Can I see the OK button press while I'm inside the dialog? Do I need to change
>the dialog window to a "standard" form window and install my own event handler
>for the window? Can I install an event handler for a dialog window?
You'll have to use your own event handler in this
case...there's no way you can do this 'the right way' using
FrmDoDialog().
Ben
+--------------------------------------------+
Ben Gottlieb Stand Alone, Inc.
v: 773-477-2492 f: 773-477-2579
[EMAIL PROTECTED] www.standalone.com
+--------------------------------------------+
Best Application: Control Bar (PalmSource '99)