Combobox and multimensional arrays

Combobox and multimensional arrays

Postby Marco Turco » Thu May 03, 2007 10:04 am

Hi,
is there any way to manage a multidimensional array in a combobox ?

I have a two dimension array like this:

aArray:=array(0,2)
aadd(aArray,{01,"Primo"})
aadd(aArray,{02,"Secondo"})
aadd(aArray,{03,"Terzo"})

and I would like to display in the combobox only the second element (First,second, third).

Any ideas ?

Marco Turco
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby Antonio Linares » Thu May 03, 2007 10:35 am

Marco,

You may review samples\TestArr2.prg. Its a browse, not a combobox, but it uses a multidimensional array
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 42 guests