Re: [Gambas-user] equivalent python self

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : ... >> i.e.: >> TreeView1_MouseDown() >> TextBox2756.Text = "xxx" >> LAST.Enable = TRUE => does it apply to TreeView1 or TextBox2756 ? >> END >> > applies to TreeView1 -^ > > I see your ideas are not clear. In the above subroutine LAST refers to

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Doriano Blengino a écrit : > >> Jean-Yves F. Barbier ha scritto: >> >>> Hi list, >>> >>> Is there an equivalent to Python 'self' into GB? >>> >>> i.e. into a proc: >>> TreeView1_MouseDown() >>>self.Enable = TRUE >>> instead of >>>TreeView.Enable =

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Jean-Yves F. Barbier
Doriano Blengino a écrit : > Jean-Yves F. Barbier ha scritto: >> Hi list, >> >> Is there an equivalent to Python 'self' into GB? >> >> i.e. into a proc: >> TreeView1_MouseDown() >>self.Enable = TRUE >> instead of >>TreeView.Enable = TRUE >> END >> >> > This is LAST. But beware, it is the

Re: [Gambas-user] equivalent python self

2009-08-16 Thread Doriano Blengino
Jean-Yves F. Barbier ha scritto: > Hi list, > > Is there an equivalent to Python 'self' into GB? > > i.e. into a proc: > TreeView1_MouseDown() >self.Enable = TRUE > instead of >TreeView.Enable = TRUE > END > > This is LAST. But beware, it is the current sender of an event, not 'self'. T

[Gambas-user] equivalent python self

2009-08-16 Thread Jean-Yves F. Barbier
Hi list, Is there an equivalent to Python 'self' into GB? i.e. into a proc: TreeView1_MouseDown() self.Enable = TRUE instead of TreeView.Enable = TRUE END -- BOFH excuse #7: poor power conditioning -- Let Crystal