Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Baseclasses not te be subclassed
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00149269
Message ID:
00149623
Views:
24
Pete,

> a pagerefresher class, it's basically a line class that he adds to all pages through the init method of a pageframe, you could set your properties in the uienable event of the line class ( visible = .f. ) which fires when your page is activated/deactivated
LPARAMETERS lEnable

if ( lEnable )
   * cause the page to refresh
   local llLockScreen
   llLockScreen = thisform.LockScreen
   thisform.LockScreen = .t.
   this.parent.FontBold = .t.
   this.parent.Refresh()
   thisform.LockScreen = llLockScreen
else
   this.parent.FontBold = .f.
endif
This slight mod to the PageRefresher.UIEnable does exactly that.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform