Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox Problem
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00702695
Message ID:
00702723
Vues:
15
Hi,

>the array is populated no problem, the problem is, the value property of the listbox is returning the listindex not the array column as before.

just thought there might be a .Requery() necessary after populating the listbox, if the array is filled *after* the listbox has been instantiated ...

>The array is something like this
>myarray[1,1] = 'One'
>myarray[1,2] = 'Another column'
>when I click on the listbox the value property should return 'Another column', as it does in the form version.

You could try setting .BoundTo to .T.

HTH,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform