Re: Tab Control Code Question
- From: "Keith Wilby" <here@xxxxxxxxx>
- Date: Tue, 11 Mar 2008 08:18:27 -0000
"DFS" <nospam@xxxxxxxx> wrote in message news:PInBj.2060$Q52.1949@xxxxxxxxxxxxxxxxxxxxxxxxx
Keith Wilby wrote:What code to I need to return the name of the *current* page on a tab
control? I can return the name of a specific page using (for example)
strCriteria = Me.tabDiscipline.Pages(0).Name
but how do I get the *current* page in the Change event of the tab
control?
Many thanks.
Keith.
This will give you the name you assigned to the selected tab: Forms.FormName.tabCtlName.Pages(Forms.FormName.tabCtlName).Name
This will give you the index of the selected tab: Forms.FormName.tabCtlName
Just the job, thanks.
.
- Follow-Ups:
- Re: Tab Control Code Question
- From: DFS
- Re: Tab Control Code Question
- References:
- Tab Control Code Question
- From: Keith Wilby
- Re: Tab Control Code Question
- From: DFS
- Tab Control Code Question
- Prev by Date: AAA***Louis Vuitton Lockit Vertical Designer Handbags
- Next by Date: Re: Using AND and OR in querystring
- Previous by thread: Re: Tab Control Code Question
- Next by thread: Re: Tab Control Code Question
- Index(es):