Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-02-03 Thread PICCORO McKAY Lenz
From: Tobias Boege > For Each sRes In cResult > myComboBox.Add(sRes, CInt(cResult.Key)) > Next GOOD that's work very well for me!!! thanks From: Fabien Bodard > ComboBoxLinDest.List = operaciones.OtenerDestinos() that NOT work in gambas 3.4.0 i use 3.4.0 due are more usable for lenn

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-02-01 Thread Benoît Minisini
Le 31/01/2014 20:52, PICCORO McKAY Lenz a écrit : > Lenz McKAY Gerardo (PICCORO) > http://qgqlochekone.blogspot.com > From: Beno?t Minisini >> A 'MinDate' property could be a good idea... >> And a 'MaxDate' too, why not? > HEY BENOIT, NEVERMIND! FORGET IT AND MAKE THE EXAMPLES OF GB.WEB PLEASE!!!

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread Fabien Bodard
Public Function GetDestinos() As String[] Dim RelenosCombox As New String[] hresul = hconn.Find("tb_destino") for each hResul RelenosCombox.Add(hresul["destino_id"] & "|" & hresul["destino_descripcion"]) next Return RelenosCombox End 2) in form class Public Sub ComboBo

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread Tobias Boege
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote: > >> do the following: create a String[] aResult or something. Then use the > >> hresult["whatever_id"], converted to an Integer, as index: > >> > >> aResult.Add(hresult["payload"], CInt(hresult["whatever_id"])) > >> > > umm this mees might work like

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread PICCORO McKAY Lenz
>> do the following: create a String[] aResult or something. Then use the >> hresult["whatever_id"], converted to an Integer, as index: >> >> aResult.Add(hresult["payload"], CInt(hresult["whatever_id"])) >> > umm this mees might work like the collection idea also dont work!!! combobox auto enumra

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread PICCORO McKAY Lenz
Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.blogspot.com From: Beno?t Minisini > A 'MinDate' property could be a good idea... > And a 'MaxDate' too, why not? HEY BENOIT, NEVERMIND! FORGET IT AND MAKE THE EXAMPLES OF GB.WEB PLEASE!!! (i still remenber that mail ok) > From: Tobias Boege >> do

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread Tobias Boege
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote: > errr about collection another question.. documentation are not cleary > how to use.. > > its creatable ? > > http://gambasdoc.org/help/lang/collection?cs&v3 > > dim pep as new collection? > > in that link does not show how to instanciate/create/m

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread PICCORO McKAY Lenz
errr about collection another question.. documentation are not cleary how to use.. its creatable ? http://gambasdoc.org/help/lang/collection?cs&v3 dim pep as new collection? in that link does not show how to instanciate/create/make a var of type Lenz McKAY Gerardo (PICCORO) http://qgqlochekone.

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread Tobias Boege
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote: > > However, if you want to use > > strings as indices, you better forget about String[] (which only accepts > > integer indices) and use Collection. > > does gambas provide collections in same way of java does? > No, in Gambas, a Collection is a ha

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread PICCORO McKAY Lenz
> However, if you want to use > strings as indices, you better forget about String[] (which only accepts > integer indices) and use Collection. does gambas provide collections in same way of java does? > However, if you want to fill a ComboBox, you cannot pass a string as the > second argument to

Re: [Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread Tobias Boege
On Fri, 31 Jan 2014, PICCORO McKAY Lenz wrote: > i try to fill combobox but i cannot access array objects by index names: > > ComboBoxLinDest.Add(objetivodestino["destino_descripcion"], > objetivodestino["destino_id"]) > > the code to fill array matrix are: > > 1) in transpor class > > Public F

[Gambas-user] how to fill combobox with specific index from a array matrix

2014-01-31 Thread PICCORO McKAY Lenz
i try to fill combobox but i cannot access array objects by index names: ComboBoxLinDest.Add(objetivodestino["destino_descripcion"], objetivodestino["destino_id"]) the code to fill array matrix are: 1) in transpor class Public Function GetDestinos() As String[] Dim RelenosCombox As New Stri