Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 5.0 - Problem with Escape to Cancel
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00037381
Message ID:
00037659
Vues:
38
Have you tried ON ESCAPE * (effectively: disable the Esc key) > > > Paul, > I had the cancel property set to true. This button is full-time cancel, I > just want it to respond from clicking or while the program is in the > middle of a lengthy update operation. Thx for your input. > > Ed, > I assume that your comment is telling me to do ON ESCAPE . .outside of > the form. Since this is the only form in the project, I am not > transitioning from form to form so my "program" is really only about two > lines of code including DO FORM. I will try your suggestion and let you > know. Thx for the help. > > Marc, > Thanks for the input. I don't intend to use ESC anywhere else. I will let > you know if SOMETHING out of all of this works. > > >>Set the Cancel property of the button to .T. (under the 'Other' tab of > >>the Property sheet). > >> > >>/Paul > > > >... and make sure that you do not capture the Escape key anywhere else, > specifically not in the form (in the keypress event f.e.). Then it will > work, ... most of the time. I've had similar experiences with failing > Escape keys. I still have not found out why it sometimes does, and > sometimes does not work. > > > >One of the VFP mysteries. I'm working on it :) > > > >Marc --
Paul Russell
EMail: prussell@fox.nstn.ca
Phone: (902) 499-5043
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform