General information
Category:
Forms & Form designer
I'd have to disagree that the cancel button is endemic. We are modeling our app after MS Outlook. All of the child forms (like the mail message text) that come up, close on ESC, but do not have a Cancel button.
>I agree with Josh. The Cancel button is endemic to almost all Windows apps so you're in agreement with standards to have it (and make it visible). So, set Cancel property to .T. and you're cooking.
>
>
>>What is the best way to have a form close with an ESC press?
>>
>>1) trap the KeyPress=27 event in the form and issue release()
>>2) have a button (possibly invisible) set as "Cancel" and issue release() in its click
>>3) something else
>>
>>
>>Bob
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only