Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Default command button
Message
From
07/01/2000 15:08:01
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00314543
Message ID:
00314680
Views:
14
Hi John and Nadya,

>>That's not really a great way to solve the problem, because it still moves focus from the current control to the default button.
>>>Just place if nKey=13 NODEFAULT in text1 and text2 keypresses methods.

Both those solutions require code in more than one spot. I would say just check (in the click of the Defualt button) if the active page is 2, if not, return, then refresh()

if this.parent.parent.activepage = 2

ect. What do you guys think about that one?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform