The Chr(13) & Chr(10) code works for regular labels, but it doesn't appear that it works in the actual tabbed page label, which is where I'd like 2 lines of text.
Interesting question. Sorry I don't know the answer but I hope you don't mind if I go along for the ride. I use tab controls a lot and would love to know how to save space by putting the caption on two lines.
[tt]
& vbCrLf & will not work on the tab names. I don't think you can put a label or a picture or any other object on them. I think this is Microsoft's way of trying to maintain a uniformity in the appearance of the tab control (an activex object?) on every program that runs on Windows.
You can, of course, specify the tab fixed width in the control's property sheet.
There are commercial tab controls available...I've never tried any of them.
I think I read a thread some time ago, in which someone suggested simulating tabs with the use of command buttons (you can put a label on top of them), making separate forms visible and invisible when the buttons were clicked. Seems like it ought to work, but is a lot of trouble.
Good luck, [tt] Gus Brunston - Access2000[/tt] Intermediate skills.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.