Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Event firing BEFORE form.load
Message
De
04/03/2009 06:48:54
 
 
À
04/03/2009 06:38:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01385412
Message ID:
01385426
Vues:
70
>> I've seen this happen. Maybe someone knows a better solution but here's how I got around

>> (1) Add a property to you form class 'Loading' and set it to .T.

>> (2) at the end of your form's class Load() or at the start of the Init() set it to .f.

>> (3) Test it

>> Pageframe.PageCount_Assign

>> if( m.thisform.Loading )
>> && do nothing
>> endif
>> (4) you may need to add - at the end of the PageFrame's init()
>> this.PageCount = m.this.PageCount


Thanks, but the problem is that this is not my pageframe, it is in Emerson Reed's excellent ThemedControls.

I am going to raise it on VFPx and see if there is anywhere he can add a hook in that I can put code in, but wonderred if there was any other work around.

Gary.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform