Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-14 Thread M0E Lnx
Well, the code I have now works... I guess as long as it works, but at any rate since the tabstrip is drawn into the form, it always has a .count = > 1 so that should not be a problem anyway but thanks for you help anyway. On Thu, Aug 14, 2008 at 3:45 PM, Ron Onstenk <[EMAIL PROTECTED]> wrote: >

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-14 Thread Ron Onstenk
On Thursday 14 August 2008, M0E Lnx wrote: > Here is the code snipplet that I have where the tabs get added to the > tabstrip (additional to the existing tabs) > http://pastebin.com/m15deb6a5 > and this is the complete module (in case that doesn't make sense) > http://vinstall-ng.googlecode.com/svn

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-14 Thread M0E Lnx
Here is the code snipplet that I have where the tabs get added to the tabstrip (additional to the existing tabs) http://pastebin.com/m15deb6a5 and this is the complete module (in case that doesn't make sense) http://vinstall-ng.googlecode.com/svn/branches/iVL/MdlLiloOsList.module The method I have

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-13 Thread Ron Onstenk
On Wednesday 13 August 2008, M0E Lnx wrote: > I tried that, and for some reason it doesnt work here > In my head it always made sense like that, keeps giving me an new tab > but sets the .text ("New Tab") property to the one before the last > > I still dont understand why it does that > > > > O

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-13 Thread M0E Lnx
I tried that, and for some reason it doesnt work here In my head it always made sense like that, keeps giving me an new tab but sets the .text ("New Tab") property to the one before the last I still dont understand why it does that On Wed, Aug 13, 2008 at 10:33 AM, Ron Onstenk <[EMAIL PROTECTED

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-13 Thread Ron Onstenk
On Wednesday 13 August 2008, M0E Lnx wrote: > Thanks... i found a way to fix this by declaring an additional integer > variable and assigning it's value before the WITH statement. > > goes like this > > for i = 0 to array.count - 1 > idx = tabstrip1.count - 1 > > with tabstrip1 > .count = .count

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-13 Thread M0E Lnx
Thanks... i found a way to fix this by declaring an additional integer variable and assigning it's value before the WITH statement. goes like this for i = 0 to array.count - 1 idx = tabstrip1.count - 1 with tabstrip1 .count = .count + 1 .index = idx .text = "New Tab" end with On Tue, Aug 12,

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-12 Thread Ron Onstenk
On Tuesday 12 August 2008, M0E Lnx wrote: > With tabstrip1 > .count = .count + 1 ' this works... adds a new tab to the tabstrip > .index = .count ' This is where the problem is, it keeps saying bad index > End With > If you have 1 tab then count=1 and index=0 Adding a TAB with .count + 1 gives

Re: [Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-12 Thread richard terry
On Wed, 13 Aug 2008 07:52:42 am M0E Lnx wrote: > I'm still having a little problem getting this to work > > I want to add tabs to a tabs strip, and populate the new tabs as I go > along. Here is an example of what I want to do > > With tabstrip1 > .count = .count + 1 ' this works... adds a new tab

[Gambas-user] Still jacking with tabstrips properties and adding tabs

2008-08-12 Thread M0E Lnx
I'm still having a little problem getting this to work I want to add tabs to a tabs strip, and populate the new tabs as I go along. Here is an example of what I want to do With tabstrip1 .count = .count + 1 ' this works... adds a new tab to the tabstrip .index = .count ' This is where the problem