Re: [Gambas-user] ColumnView and exec or shell to button

2008-11-15 Thread Nicolas Koch
Doriano, Thanks for the help I actually came up with something similar before I got your email. This is what I used. Thanks again for the help. PUBLIC SUB Install_Click() DIM thisKey AS String DIM data AS String IF Software.Current = NULL THEN RETURN data = Software.Current.Text SHEL

[Gambas-user] celdas de listview

2008-11-15 Thread jjmoncar
buenas noches. estoy tratando de hacer una aplicacion con el listview de manera que cuando se haga click en una celda esta cambie de color. el siguiente codigo lo hace, pero me cambia el color de ambas celdas. espero me puedan ayudar. PUBLIC SUB Form_Open() TableView1.Columns.Count = 4 TableView

Re: [Gambas-user] ColumnView and exec or shell to button

2008-11-15 Thread Doriano Blengino
Nicolas Koch ha scritto: > well this is what I got so far > > Just to clarify Software = CloumnView1 > > ' Gambas class file > > > ' Software List > Software.Clear() > Software.Add("key1", "wrtest") > Software.Add("key1-1", "test1", NULL, "key1") > Software.Add("key1-2", "test2", NULL, "k

Re: [Gambas-user] Dynamic menu click event

2008-11-15 Thread Toni
Hi Doriano, thanks for your answer! I have a related doubt... If I instantiate some Menu objects from code and I assign them all to the same "handling function", is there a way, inside this function, to know which Menu object was the one that fired the event? Regards, Toni Rosa En/na Doriano B

Re: [Gambas-user] Dynamic menu click event

2008-11-15 Thread Doriano Blengino
Toni ha scritto: > Hi, > > I am new to Gambas and I don't know how to solve a problem regarding > setting events for new objects. > I am creating a dynamic menu, but I don't know how to assign an event > handler to it. > Here 2 examples of what I've tried without succes: > > Not working 1: > [...

Re: [Gambas-user] ColumnView and exec or shell to button

2008-11-15 Thread Nicolas Koch
well this is what I got so far Just to clarify Software = CloumnView1 ' Gambas class file PUBLIC SUB Form_Open() ME.Text = "wrtest" END 'ColumnView PUBLIC SUB _new() DIM iwidth AS Integer DIM irowcounter AS Integer DIM icolcounter AS Integer 'Software Software.Columns.Count = 2 i

[Gambas-user] Dynamic menu click event

2008-11-15 Thread Toni
Hi, I am new to Gambas and I don't know how to solve a problem regarding setting events for new objects. I am creating a dynamic menu, but I don't know how to assign an event handler to it. Here 2 examples of what I've tried without succes: Not working 1: [...] DIM mnu AS Menu mnu = NEW Menu(Po

Re: [Gambas-user] ColumnView and exec or shell to button

2008-11-15 Thread Doriano Blengino
Nicolas Koch ha scritto: > For the button_click() I have the following > > PUBLIC SUB button_Click() > > IF ColumnView1.Item.Selected = NULL THEN RETURN > message("error") > ELSE > makeOperations() > ENDIF > > END > > I still don't understand how to add a command to the a row or i

Re: [Gambas-user] ColumnView and exec or shell to button

2008-11-15 Thread Nicolas Koch
For the button_click() I have the following PUBLIC SUB button_Click() IF ColumnView1.Item.Selected = NULL THEN RETURN message("error") ELSE makeOperations() ENDIF END I still don't understand how to add a command to the a row or item I have listed On Sat, Nov 15, 2008 at 9:15

[Gambas-user] ColumnView and exec or shell to button

2008-11-15 Thread Nicolas Koch
I can't figure out how to have each item in the ColumnView1 have a command and then run from a single button_click() Can someone help me out here? Each row or key will have there own shell command that needs to be run. Thanks in advance -

Re: [Gambas-user] New Error message with 2.9

2008-11-15 Thread Stefano Palmeri
Il venerdì 14 novembre 2008 20:34:46 moon_walker ha scritto: > Hi Stefano, > > thanks, > but what means SVN version? :-) > > thx > Attila > From Gambas site download page: - To get a snapshot of the 2

Re: [Gambas-user] Beginers questions

2008-11-15 Thread Tomas Eroles i Forner
Hi all! El dv 14 de 11 del 2008 a les 11:40 -0500, en/na Stephen Bungay va escriure: > Demosthenes Koptsis wrote: > > Hi to all, > > > > i have two simple questions as a beginner, > > > > 1) how to have access to control values from different forms? > > > >Set the controls in all forms to