Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot click ListBox items
Message
 
 
To
30/11/2005 05:46:20
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01072630
Message ID:
01073205
Views:
31
>This seemed to fix my form, but I am checking to see what repercussions there are to the change.
>
>In the Init of the PageFrame I copied the inherited code from cPageFrame and commented out the last line:
>
>
>This.AddUIEnabler()
>
>
>This fixed the problem I was having. I am currently reviewing the code in the UIEnabler class to see what its purpose is and how it affects things.
>
>Aloha,
>
>James
>
The purpose of UIEnabler is to refresh the pages when the pages are activated. Instead of changing Init method you can simply overwrite AddUIEnabler method puting a comment there (overriden by purpose). You may need to do some refreshes manually. But I think UIEnabler class has some overhead. My colleague commented this method in two instances of his forms and doing refresh when it's needed by himself.
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