Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I use a parameter
Message
From
12/06/2001 07:36:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
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:
00518274
Views:
12
>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.

Example (set focus to a specified page):

local lnPageNum
lnPageNum = 3
ThisForm.PageFrame1.Pages(lnPageNum).SetFocus()

Here I called a method, but you can just as well set a property with the .Pages collection.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform