[Gambas-user] How to automatically select all text when first entering editable TableView cell?

2016-02-24 Thread T Lee Davidson
I have a project with a TableView that has the cells of certain columns defined as editable since the content can change. The problem is when the user is editing a row and uses either ENTER or an arrow key to move to the next editable cell, any existing text in the cell gets in the way and need

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Fabien Bodard
This is a working example 2016-02-24 21:49 GMT+01:00 Fabien Bodard : > You can use another way : > > Imagine a firmata that will be a container. > > all the children of this container will be connected to this connection. > > so you can work visually and children just needto search the > connectio

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Fabien Bodard
You can use another way : Imagine a firmata that will be a container. all the children of this container will be connected to this connection. so you can work visually and children just needto search the connection in theire parent 2016-02-24 20:22 GMT+01:00 Tobias Boege : > On Wed, 24 Feb 20

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Tobias Boege
On Wed, 24 Feb 2016, Matias De lellis wrote: > >It is a different>matter, though, if Firmata is a graphical control. > >Graphical controls always > >have a name property and you can use a Form's Controls property to search a > >control by name like this: > > > > hMyFirmata = FMain.Controls["Firma

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Matias De lellis
Hi again, >You seem to misunderstand Class["name"].Instance. In your first mail you>wrote: > >>> Dim hFirmata As Firmata >>> >>> hFirmata = Class["Firmata1"].Instance > >But Firmata1 is the name of one of your *objects*. The syntax Class["name"] >searches for a *class* named "Firmata1", which lik

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Tobias Boege
On Wed, 24 Feb 2016, Matias De lellis wrote: > Well... > You're right .. The 'Instance' method seems to be hidden.. However, the > example clearly indicates that this was the way to use it..?? > I have to research better, but if they have to be a static class, this does > not help me .. > You s

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Matias De lellis
Well... You're right .. The 'Instance' method seems to be hidden.. However, the example clearly indicates that this was the way to use it..  I have to research better, but if they have to be a static class, this does not help me .. El Miércoles, 24 de febrero, 2016 13:31:33, Jussi Lahtin

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Jussi Lahtinen
No, you completely misunderstood what I meant. I'm talking about the IDE. See the pics. Jussi On Wed, Feb 24, 2016 at 4:10 PM, Matias De lellis wrote: > Hi Jussi > > > > > I see only Load method for Class!? > > Need the instance to use methods and observe events.. > > > Is the "instance" hidde

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Matias De lellis
Hi Jussi > I see only Load method for Class!? Need the instance to use methods and observe events.. > Is the "instance" hidden..? No.. However test make it public, private, and any other options that I know.. :s > in what version? Last example attached, on Gambas 3.4.5 (Debian Jessie), but t

Re: [Gambas-user] Get the object of a component by name.

2016-02-24 Thread Matias De lellis
Hi El Martes, 23 de febrero, 2016 21:00:06, Tobias Boege escribió: On Tue, 23 Feb 2016, Matias De lellis wrote: > > So, what I read out of your mail is that you have one object Firmata1 which > > has a certain configuration. You now want to add controls dynamically to the > > Form which should i