PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Paul D. Elliott on August 18, 2004, 04:00:35 PM

Title: program control of tab-pane switching
Post by: Paul D. Elliott on August 18, 2004, 04:00:35 PM
Just want to ask if it would be possible to add some FF functions for
controlling the switching of tab-panes? I want to be able to control which
tab is shown via the program rather than depend on the user to click the
right tab.

Thanks.
Title: program control of tab-pane switching
Post by: TechSupport on August 18, 2004, 04:26:40 PM
Thanks Paul,

I will be adding more FF functions as time goes by. You can be sure that Tab Control functions will be there.

In the meantime, you can still certainly use the api messages %TCM_SETCURSEL or %TCM_SETCURFOCUS. I believe that in FireFly you should probably use the %TCM_SETCURFOCUS because it will fire the notification messages needed for FireFly to switch the child forms that are associated with each tab. The %TCM_SETCURSEL only changes the tab itself, not the child forms.