Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageOrder of pages in pgf default to creation order
Message
 
À
23/02/2006 08:50:05
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Database:
Firebird
Divers
Thread ID:
01098406
Message ID:
01098783
Vues:
14
Hi Cetin

>select all controls on page1 and saveasclass page1controls (if you cannot find an uglier name:). Do the same for all pages. Then a page.UIENable code looks like (Tag is set to classname in designtime):
>
>if m.lEnable and type('this.'+this.Tag) = 'U'
> this.newobject('pagecontrols',this.Tag,'pageclasslib.vcx')
> this.pagecontrols.visible = .t.
>endif
I kinda like this idea if it does not entail a lot of management, say, when new fields are added or lessed.

Thanks, I will give it a shot.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform