Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
PageOrder of pages in pgf default to creation order
Message
 
To
23/02/2006 08:50:05
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 6 SP5
Database:
Firebird
Miscellaneous
Thread ID:
01098406
Message ID:
01098783
Views:
15
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
___________________________________________
Previous
Reply
Map
View

Click here to load this message in the networking platform