S
SFatz
I would like to dynamically add pages to a tab control based on data in one
of my tables.
I am using the following command in the Form_Load event:
Me.tabFilter.Pages.Add (where tabFilter is the name of the TabControl)
VB protests claiming that I "must be in Design view to create or delete
controls."
The help seems to indicate that I should be able to do this with VB. (is
this VB, and not VBA??)
If not, then why add the .Add method?
How do I dynamically add pages to the tab control with VBA?
Thanks in advance for the help.
of my tables.
I am using the following command in the Form_Load event:
Me.tabFilter.Pages.Add (where tabFilter is the name of the TabControl)
VB protests claiming that I "must be in Design view to create or delete
controls."
The help seems to indicate that I should be able to do this with VB. (is
this VB, and not VBA??)
If not, then why add the .Add method?
How do I dynamically add pages to the tab control with VBA?
Thanks in advance for the help.