I don't know how you get hold of the handle - but once you get it you may be able to use something like this..
SSTab1.TabEnabled([tabnumber])=False
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
Printable View
I don't know how you get hold of the handle - but once you get it you may be able to use something like this..
SSTab1.TabEnabled([tabnumber])=False
------------------
Mark "Buzby" Beeton
VB Developer
[email protected]
It's not an exposed property. I believe the control is an ActiveX control which has exposed properties like tabcaption for each tab but not tabenabled. Thanks for the suggestion, though. Any other ideas?
Thanks,
Wade
Hi, I want to disable 2 tabs out of 6 on an sstab that's in another program, for which I only have object code. I know I could disable the entire sstab by searching for its handle and disabling it. However, I want to keep some tabs, while disabling others. Is it possible to do this?
Thanks in advance,
Wade
I know this one's tough, but does anyone know how to do this?
Thanks in advance,
Wade
I appreciate the reply, but this sstab is an ActiveX control in another app and tabenabled is not an exposed property. I know you can disable controls in other apps through API, but this is different because I want to disable only part of the control. Any other ideas?
Thanks,
Wade
this works
SSTab1.TabEnabled(1) = False
Quote:
Originally posted by WadeD:
I know this one's tough, but does anyone know how to do this?
Thanks in advance,
Wade
I got it! Just an FYI - just as each control is technically a window with a handle, each tab within the sstab is also a window with a handle. Get the handle and use api to disable.
Thanks for the replies,
Wade