Has someone achieved this with TabStrip control (i.e. show/hide or
enable/disable a specific tab page)? We don't want to use SSTab control
that provides this feature, because it would change the look and feel
of this application from other application that have been developed by
using TabStrip control.
Any help will be highly appreciated.
Regards,
Gsox
Seems to work well
Just use a tabstrip and put your "pages" in a frame array.
Bit of cut and pasting, but not too painful.
Then..when the strip is clicked.
for i = frames.lbound to frames.ubound
frames(i).visible = i = tabstrip1.tabindex
next
In fact, usually, i just use an array of buttons. Or option buttons in
graphical mode in a frame, which makes them look like a series of
buttons, but will act as option buttons do(deselecting on selection).
Looks almost like a tabstrip. It does involve a bit of extra coding
for when the form resizes, but if i can do away with the damn commdlg
control i'm all in for a few extra lines of code..
--
Regards, Frank
Further to Frank's suggestion
- I also detest OCXes, but like Tabs
- my solution is to simulate a Tabstrip in a Usercontrol
<its_...@hotmail.com> wrote in message
news:1132817376.7...@o13g2000cwo.googlegroups.com...
Adding to the pile (btw BUGS is not an appropriate crosspost for this type
of question), the SSTab can be made to look quite a bit like a TabStrip by
setting its Style property to 1 (ssStylePropertyPage). It doesn't support XP
Themes though.
SSTab1.Style = ssStylePropertyPage
--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..