I am developing a block insertion tool utilizing the tab strip. I would like to have the option of loading to a specific tab rather than the first tab. The idea is to have a tool bar button with flyouts. The flyouts will be the different tabs. Currently I have the button working but it goes to the first tab only. How do I initialize to a different tab?
(I posted this as a different topic from my last Tab Strip for future reference)
Hi, can you post a simple sample, please? I cannot imagine quite well what you want to do.
If you want to show a specific tab on startup use SetCurSel in OnInitialize event.
Fred
ya like Fred said, do something like this...
(defun c:Untitled_Form1_OnInitialize (/)
(dcl_TabStrip_SetCurSel Untitled_Form1_TabStrip1 2);; <-- load the 3rd tab page
)