Re: [Gambas-user] Combo box

2009-03-12 Thread Doriano Blengino
Jeff ha scritto: > Hi All, > First post, so forgive me newbie-ness. > > If I use the add method to add rows to a combo box I specify an index: > Eg: > ComboBoxProjects.Add("ZZ", 0) > ComboBoxProjects.Add("AA", 1) > > Then in a button click event I use the index property to get the > selected row:

Re: [Gambas-user] Combo box

2009-03-12 Thread richard terry
On Fri, 13 Mar 2009 12:46:05 am Jeff wrote: > Hi All, > First post, so forgive me newbie-ness. > > If I use the add method to add rows to a combo box I specify an index: > Eg: > ComboBoxProjects.Add("ZZ", 0) > ComboBoxProjects.Add("AA", 1) > > Then in a button click event I use the index property t

Re: [Gambas-user] Combo box

2009-03-12 Thread Rolf-Werner Eilert
Jeff schrieb: > Hi All, > First post, so forgive me newbie-ness. > > If I use the add method to add rows to a combo box I specify an index: > Eg: > ComboBoxProjects.Add("ZZ", 0) > ComboBoxProjects.Add("AA", 1) > > Then in a button click event I use the index property to get the > selected row: >

[Gambas-user] Combo box

2009-03-12 Thread Jeff
Hi All, First post, so forgive me newbie-ness. If I use the add method to add rows to a combo box I specify an index: Eg: ComboBoxProjects.Add("ZZ", 0) ComboBoxProjects.Add("AA", 1) Then in a button click event I use the index property to get the selected row: PRINT ComboBoxProjects.Index This