Re: [Gambas-user] refer to an object with a string

2009-08-17 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Jean-Yves F. Barbier ha scritto: >> Doriano Blengino a écrit : >> >>> I didn't want to say that Label2572 is obscure code: instead the first >>> thing that came to my mind is "how many labels are in this form?". >>> So I pointed out that perhaps dynamic construction

Re: [Gambas-user] refer to an object with a string

2009-08-17 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Doriano Blengino a écrit : > >> I didn't want to say that Label2572 is obscure code: instead the first >> thing that came to my mind is "how many labels are in this form?". >> So I pointed out that perhaps dynamic construction of gadgets would have >> been us

Re: [Gambas-user] refer to an object with a string

2009-08-17 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Jean-Yves F. Barbier ha scritto: >> Doriano Blengino a écrit : >> >> >> Thanks to both ouf you, I saved this thread to be sure to have it when >> needed :) >> >> >>> I saw a "Label2572"... it seemed to me a little strange... >>> And about obscure code, I th

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Doriano Blengino a écrit : > > > Thanks to both ouf you, I saved this thread to be sure to have it when needed > :) > > >> I saw a "Label2572"... it seemed to me a little strange... >> And about obscure code, I think that well commented (and written!)

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : Thanks to both ouf you, I saved this thread to be sure to have it when needed :) > I saw a "Label2572"... it seemed to me a little strange... > And about obscure code, I think that well commented (and written!) code > is never obscure, but sometimes one writes

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Charlie Reinl
Am Sonntag, den 16.08.2009, 19:08 +0200 schrieb Doriano Blengino: > Jean-Yves F. Barbier ha scritto: > > Doriano Blengino a écrit : > > > >> Jean-Yves F. Barbier ha scritto: > >> > >>> Hi list, > >>> > >>> I'm trying to refer to come couples Label/CheckBox that have the same > >>> suffix >

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Doriano Blengino a écrit : > >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> I'm trying to refer to come couples Label/CheckBox that have the same suffix >>> (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. >>> >>> But after building m

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> I'm trying to refer to come couples Label/CheckBox that have the same suffix >> (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. >> >> But after building my strings that are orders, GB tell me its not an object

Re: [Gambas-user] refer to an object with a string

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Hi list, > > I'm trying to refer to come couples Label/CheckBox that have the same suffix > (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. > > But after building my strings that are orders, GB tell me its not an object: > > PUBLIC SUB lblckb_on_off(whic

[Gambas-user] refer to an object with a string

2009-08-16 Thread Jean-Yves F. Barbier
Hi list, I'm trying to refer to come couples Label/CheckBox that have the same suffix (lbl_ONE & ckb_ONE) to enable/disable couple in one shot. But after building my strings that are orders, GB tell me its not an object: PUBLIC SUB lblckb_on_off(which AS String, on AS Boolean) DIM lbl AS Strin