Re: [Gambas-user] creating objects from code into a tabstrip

2008-08-07 Thread M0E Lnx
Thank you... this works great ;) On Thu, Aug 7, 2008 at 4:20 PM, Stephen Bungay <[EMAIL PROTECTED]> wrote: > IN your proc.. > > DIM hButton1 as Button > > With Tabstrip1 > .Index = 2 > hButton1 = NEW Button(TabStrip1) AS "NewButton" > end with > > M0E Lnx wrote: >> In a form, I have a

Re: [Gambas-user] creating objects from code into a tabstrip

2008-08-07 Thread Stephen Bungay
IN your proc.. DIM hButton1 as Button With Tabstrip1 .Index = 2 hButton1 = NEW Button(TabStrip1) AS "NewButton" end with M0E Lnx wrote: > In a form, I have a tabstrip. > The tabstrip's .count property is not defined until some conditions are met > > After the tabstrip's .count pr

[Gambas-user] creating objects from code into a tabstrip

2008-08-07 Thread M0E Lnx
In a form, I have a tabstrip. The tabstrip's .count property is not defined until some conditions are met After the tabstrip's .count property has been set, I want to fill each tab of the tabstrip with a button, textlabel, textbox etc When i create my objects, how do I tell it which tab to go to?