Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use a parameter
Message
From
11/06/2001 20:06:07
 
 
To
11/06/2001 18:04:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00518121
Message ID:
00518168
Views:
11
>>>>>>>>>>>>
>I need to set a property on a pageframe and it needs to go be on a specific
>page depending on a parameter. I can do it the old fashion way as in using
>a loop, if then, or case but is there a way to do it easier.
>
>Here is the example.
>
>I am on page 1 of the pageframe and the page that needs to have a property set is page 2. The manual way is...
>
>thisform.pageframe1.page1.myproperty=.f.
>thisform.pageframe1.page2.myproperty=.t.
>
>I need to manipulate the pageX in the above.
>
>Thanks
>>>>>>>>>>>>

Why create a property on a pageframe? Why not on the form itself?
If you need a logical property for each page you could create an array property on the form and then it would be very easy to traverse the array where each array element corresponds to a page number.


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Previous
Reply
Map
View

Click here to load this message in the networking platform