Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pageframe Page Activate vs. Click methods
Message
From
15/09/2018 14:13:10
 
 
To
10/09/2018 20:45:24
Al Doman (Online)
M3 Enterprises Inc.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01661937
Message ID:
01662048
Views:
50
>I think it might be possible to use the keyboard to go to the "next" page, .Click() wouldn't fire there either. Fast computer users use keyboard shortcuts/hotkeys etc.
>
>If it were up to me I'd put the code in .Activate(), it most closely describes where you want the code to run. However you get to that page, all paths lead to .Activate() so you don't have to worry about exactly how you got there. Putting code in .Click() instead just feels like something that would bite me later on.
>
Solid reasoning, still "Events should call Methods" ;-)
Implementing the "FixActivateIssues" in a method, that method might be called from different events, perhaps with checking in advance
Previous
Reply
Map
View

Click here to load this message in the networking platform