FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to surpass a get under validation & pass control to
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
How to surpass a get under validation & pass control to
Posted: Tue Dec 13, 2005 12:25 PM

I have some gets on a Dialog. The first Get is under validatation.
If my user does not want to enter any thing and want to quit the
dialog, instead of pressing X button, they press a Pushbutton "Quit"
provided on the dialog.

Unless the get is validated the control can't be passed to other control.
This is in normal situation.

But I want to pass the control to an item on which I click invalidating a particular or all get(s) under validatation.

What should I do to invalidate a Get and pass control to the pushbutton
"Quit" when it is clicked ?

  • Ramesh Babu
Posts: 9022
Joined: Thu Oct 06, 2005 08:17 PM
Re: How to surpass a get under validation & pass control
Posted: Tue Dec 13, 2005 01:37 PM

Add CANCEL clause to your button.

EMG

Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
How to surpass a get under validation & pass control to
Posted: Tue Dec 13, 2005 01:55 PM

Mr.Enrico

Your answer is simply superb.

Yes it worked.

Thank you very much

  • Ramesh Babu

Continue the discussion