Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default command button
Message
 
 
To
07/01/2000 11:46:55
Jerry Tovar
Dana Corporation Dana It
Maumee, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314543
Message ID:
00314579
Views:
30
Hi Jerry,

Just place if nKey=13 NODEFAULT in text1 and text2 keypresses methods.

>I have a page frame with 2 pages.
>
>Page2 has a textbox and a command button with DEFAULT set to TRUE.
>
>Page1 has a textbox and a command button with DEFAULT set to FALSE.
>
>When I am in the textbox on page1 and press Enter, the command button from page2 fires and display on page1.
>
>Should that happen? I would like nothing to happen when Enter is pressed on page1.
>
>I would think that pressing Enter would only call page2 command button when I am on page2.
>
>How should this work?
>
>Thanks
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform