Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem, UiEnable fire before Page.Activate
Message
De
23/10/2003 11:32:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem, UiEnable fire before Page.Activate
Divers
Thread ID:
00841599
Message ID:
00841599
Vues:
54
Hi,

this is a Old Bug ? I see this on VFP6/7/8.

On a VCX, a pageframe initialization events is:
Page1.Init
....
PageN.Init
* Now ActivatePage property is read
* On any control on ActivatePage
Uienable(.T.)
....
Uienable(.T.)
Pageframe.Init
.....
Form.Init
pageframe.ActivatePage.Activate
Form.Activate
.....
I aspected
Page1.Init
....
PageN.Init
* Now ActivatePage property is read, but not events fire
Pageframe.Init
.....
Form.Init
pageframe.ActivatePage.Activate
* On any control on ActivatePage
Uienable(.T.)
....
Uienable(.T.)
Form.Activate
.....
On SCX UiEnabled not fire, not before, not after;
instead fire a Deactivate of the default page.

Then, is hard to build a general pageframe, good on SCX and VCX.

Fabio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform