Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox value not visible when Listbox gets focus
Message
De
02/06/2005 04:23:38
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01018965
Message ID:
01019263
Vues:
28
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)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform