Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to select a page in a formset by code 2

Status
Not open for further replies.

rob444

Programmer
Nov 5, 2002
633
NL
Can anyone give me an axample on how to select a specific page in a formset by code / code in a command button.

I've been reading and searching for it in the helpfiles and in the several vfp books I have but I cannot find it.

TIA,
Rob.
 
Hi Geoff,

You're right, after looking further into it, it seems to be a pageframe.

So the question is how to address /select a page in a pageframe as active page by code...

Thanks,
Rob
 
Hi Rob,

Would thisform.pageframe1.ActivePage = 2 work for you?

Regards,

Mike
 
Hi Mike,

Yes it would!

Thanks very much
Strange that this subject is so hard to find...
Also thanks to Geoff who pointed out to me that I was looking at pageframes instead of formsets which made it easier for me.

Regards and a star for you both!

Rob.
 
Hi Rob,

You're welcome. :)

Thanks for the star. Glad you found it.

Regards,

Mike
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top