Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageOrder of pages in pgf default to creation order
Message
De
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:
01098447
Vues:
18
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Cetin
>
>>No wonder, if I were you, I'd hack the vcx:)
>
>Yes, yes I know I am lazy *g*, knowing all the flexibility that VFP allows so I am always tempted to get such stuff done as fast as I can with the least effort. Fox Rocks!
>
>>Actually I kept it short for it was simply a matter of 9 cut&pastes. Normally for a pageframe I'd create 'class' per contained controls and instantiate them on demand. If you had done that way, you wouldn't have a problem with the orders. All you'd do would be to change the instantiated classnames per page (and possibly tab captions). Think of it when you have time.
>
>I am not sure if I can design my form using the designer on a page by page in VFP6. I just checked it out only PageFrame is allowed in the designer.

I didn't mean subclass the page itself but controls in them. ie:

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
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform