>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)