Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox Problem
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00702695
Message ID:
00702723
Views:
14
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform