PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: David Kenny on October 07, 2009, 08:01:58 PM

Title: tabcontrol question
Post by: David Kenny on October 07, 2009, 08:01:58 PM
Hello Paul,

When I call FormName_Show (the form with the TabControl) and include UserData, it doesn't get passed on to the form that gets opened by the TabControl (at least not by default).

Would that be an easy thing to do?  I can just use a global, but was trying to avoid it.

David
Title: Re: tabcontrol question
Post by: TechSupport on October 07, 2009, 10:04:00 PM
Hi David,

I understand what you're trying to do but the way that FireFly is set up, I don't think that it can easily be done. Internally, FireFly creates the child tab control forms and those forms do not inherit any incoming userdata from the parent Form.

If you don't want to use a global then you could always use the Tag or Tag2 properties of the form and store the data there.

Title: Re: tabcontrol question
Post by: David Kenny on October 08, 2009, 11:45:13 AM
No problems, your suggestion works for me. Thanks