tabcontrol question

Started by David Kenny, October 07, 2009, 08:01:58 PM

Previous topic - Next topic

David Kenny

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

TechSupport

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.


David Kenny

No problems, your suggestion works for me. Thanks