Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I use a parameter
Message
De
12/06/2001 07:36:33
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
11/06/2001 18:04:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00518121
Message ID:
00518274
Vues:
13
>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)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform