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

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] 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

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 -