Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box in grid
Message
 
 
À
09/08/2000 01:53:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00402660
Message ID:
00402832
Vues:
8
>Using VMP 4.0 I cannot get a combo box to work in any of the grid controls. The control displays and will let you type but the selection list will not drop down. I tested using a standard grid control and it works fine.
>
>TIA
>Robert Mosley

Robert,
For some reason, the offending method is the SetColumnControlSources. Here is a work around.

1. Set the Bound property of the combobox column to .F.
2. In the SetColumnControlSources method, instead of setting the ControlSource for that column, set the ControlSource of the Combobox.

SetColumnControlSources Ex.
With THIS
   .Column1.Combo1.ControlSource = "mytable.myfield1"
   .Column2.ControlSource = "mytable.myfield2"
   .Column3.ControlSource = "mytable.myfield3"
Endwith
HTH.

P.S. Did you ever get the training/help you wanted?
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform