Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox value not visible when Listbox gets focus
Message
From
02/06/2005 04:23:38
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01018965
Message ID:
01019263
Views:
27
Thank you Borislav, and thank's to Sergey as well.

>It is good to see that article Sergey's poit to.
>But for your needs try:
>
>** In ListBox Properties
>RowSourceType = 3 && SQL-Statement
>RowSource = "SELECT Workshops.WorkshopName,WorkshopId FROM Workshops INTO CURSOR crsWorkshops"
>BoundTo = .t.       && seems to be the only way to set it with int values
>BoundColumn = 2
>
>
>But keep in mind that if somhere else you changed the records in Workshops table (DELETE, UPDATE or INSERT) these changes will not affect the ListBox Itmes. You must issue:
>
>thisform.Grid.ColumnX.ListBox.Requery() to make changes available.
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform