i m using sstab control and i placed on each tab a frame.
i m trying to set in runtime each frame on a specific tab and i dont know how to do it.(i m trying to change the frames in the tabs)
thank you
Printable View
i m using sstab control and i placed on each tab a frame.
i m trying to set in runtime each frame on a specific tab and i dont know how to do it.(i m trying to change the frames in the tabs)
thank you
what u see in design time u get at runtime by using sstab..Quote:
Originally posted by shachar
i m using sstab control and i placed on each tab a frame.
i m trying to set in runtime each frame on a specific tab and i dont know how to do it.(i m trying to change the frames in the tabs)
thank you
what do u mean by "i m trying to set in runtime each frame on a specific tab"
can u be more clear
on tab1 I put frame1
on tab2 I put frame2
on runtime i want to change the order
on tab1 frame2
on tab2 frame1
i am not sure... but a guess...Quote:
Originally posted by shachar
on tab1 I put frame1
on tab2 I put frame2
on runtime i want to change the order
on tab1 frame2
on tab2 frame1
check the left or top property of the frame the invisible form should be <0 so change the value in click event it should work
Well, create an array of the frames.
Then in the SSTAB click event, check for which tab is selected,
then set the Visible property of the frame you want to
display to True and the others to False
I think a tabstrip is a better choice in this situation.