How to skip valid of get to button in a dialog

Post Reply
Peter
Posts: 31
Joined: Wed Oct 19, 2005 3:30 am

How to skip valid of get to button in a dialog

Post by Peter »

Dear all,

I'm design a dialog for log on to system, in the dialog have 2 get and 2 button. How to skip valid of get when fault to button for exit system ?

Best regrad,

Peter
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Peter,

Use the clause CANCEL on the button:

@ ..., ... BUTTON ... CANCEL

or

REDEFINE BUTTON ID ... CANCEL

It will skip the VALID of the current GET
regards, saludos

Antonio Linares
www.fivetechsoft.com
Peter
Posts: 31
Joined: Wed Oct 19, 2005 3:30 am

again .!

Post by Peter »

Thank you very much, By the way if Skip from Get to other Get, How I do ?

Best Regrad

Peter
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

If you skip from one GET to another control, then the GET VALID will be fired. It has to return .T. to allow the new control to get focus.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Peter
Posts: 31
Joined: Wed Oct 19, 2005 3:30 am

Thank you very much

Post by Peter »

Dear Antonio,

Thank you very much for help and kidness me

Peter

Best Regard
Post Reply