Ufffff TheSmileyCoder !!!!!!!!
YES. That is.
I expect to be an option in the PROPERTIES pane.
Your answer is the best, of course, but, because I "solve" somehow this task, see and wonder:
Create a new module (or use an existing one).
In that module place this code:
- Private Sub AdPageToTABControl()
-
Dim frm As Form
-
Dim tbc As TabControl
-
-
Set frm = Forms!Calcul 'Calcul is the name of my form. _
-
Use the form name, not VBA form name (Form_Calcul)
-
Set tbc = frm!TabControl
-
-
'To add page:
-
tbc.Pages.Add 'Add a page AFTER the last existing page
-
' tbc.Pages.Add(Before)
-
-
'To remove page:
-
tbc.Pages.Remove 'Remove the LAST page
-
' tbc.Pages.Remove(Item)
-
End Sub
and RUN it.
This code work only if the form is in DESIGN mode. (?!?!?!)
Maybe someone else can find the utility of this code. Now, after your answer, the utility for me is NULL.
Thank you very very much !