Dynamic headings for tabs

jhob

Registered User.
Local time
Today, 00:11
Joined
Aug 9, 2007
Messages
23
I was wondering if there was any way of making the headings on tab controls to be controlled by variables set elsewhere?

cheers!
 
I should add that I am expecting the answer to be no, but if someone could confirm that it will save me a fair bit of fiddling time.
 
Try setting the caption property of each tab. This should do the the trick ie
something like

me!Tab1.caption = "My new caption"

Hope this helps
 
I haven't had a need to do it before but just tried this and it works.

Private Sub Form_Load()
Page1.Caption = "hello"
Page2.Caption = "bye"
End Sub
 

Users who are viewing this thread

Back
Top Bottom