MS Tabstrip control in Appbuilder

Kalan

Member
Hi,

It would be helpful if anyone case advise on this?

I have placed MS tabstrip control in smart window with 3 different tabs, placed the frame with one fill-in. I am trying to see this frame and its object while running this application. So I have written the below code in InitializeObject procedure, however these frame and fill-in are visible on run mode. Am I missing something here? Do I need to call any viewobject kind of procedure? I appreciate your help.

TabStrip:AddTab("Tab 1",FRAME Frame1:handle).
TabStrip:SelectTab(1).

Thanks.
 
Kalan said:
Hi,

It would be helpful if anyone case advise on this?

I have placed MS tabstrip control in smart window with 3 different tabs, placed the frame with one fill-in. I am trying to see this frame and its object while running this application. So I have written the below code in InitializeObject procedure, however these frame and fill-in are visible on run mode. Am I missing something here? Do I need to call any viewobject kind of procedure? I appreciate your help.

TabStrip:AddTab("Tab 1",FRAME Frame1:handle).
TabStrip:SelectTab(1).

Thanks.
I am a bit confused but assume you mean the frame and fill-in are NOT visible?

You have to create an event on tabstrip click and then hide all frames and view the one
that should be shown with the selected tab. You may also have to call a move-to-top on the frame to put it on top of the control
 
Thanks Jongpau. However I am trying to identify the selected tab so that I can hide rest of the objects but :SelectedItem OR :value OR :Index always showing zero value on click event. Not sure what I am missing here...
 
Last edited:
Back
Top