Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Baseclasses not te be subclassed
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00149269
Message ID:
00149623
Vues:
25
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform