Author Topic: Tab Strip Query  (Read 4632 times)

0 Members and 1 Guest are viewing this topic.

mr_nick

  • Guest
Tab Strip Query
« on: June 26, 2012, 10:07:28 AM »
A quick question about working with tab strips.

It is possible to dynamically add tabs to a dialog by passing a list of tab names via dcl_Control_SetTabCaptionList but obviously all these tabs are blank. Is it then possible to add controls to these tabs or would I need to create a fistful of tabs in my project and then change their visibility at runtime depending on the length of my caption list?

owenwengerd

  • Bull Frog
  • Posts: 451
Re: Tab Strip Query
« Reply #1 on: June 26, 2012, 10:24:50 AM »
Currently you can only create controls in Studio. If you want to change the number of tabs dynamically at runtime, consider hiding and showing tabs rather than changing the tab strip's captionlist property.

mr_nick

  • Guest
Re: Tab Strip Query
« Reply #2 on: June 26, 2012, 10:26:42 AM »
Thanks Owen - kind of assumed this was the case but thought I 'd check before I get started.