Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Putting a Combobox in a grid
Message
De
23/07/2000 03:33:34
 
 
À
22/07/2000 16:43:05
Jimmy Ditta
Twin City Electronics
Monroe, Louisiane, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00395897
Message ID:
00395957
Vues:
11
Hi Jimmy.

>> How do you replace the textbox control with a combobox control for the column of a grid? <<

Actually adding a combo box to a grid is very simple. First, make sure that your combo box class is available on the form controls toolbar: In the form designer, click on the View Classes toolbar button. (This is the button that looks like a set of books.) Select the Add option and find the appropriate class library in the open files dialog. Next, in the drop down list at the top of the property sheet, select the grid column that will hold the combo box. After clicking on the combo box in the form controls toolbar, click on the grid column into which you want to drop it. If you now look at the controls listed under that column in the property sheet, you will see the combo box that you just added. Using the Data tab of the property sheet, set the combo box as the CurrentControl for the grid column.

You may also want to check out my artocle in FoxPro Advisor's February 2000 issue that gives you a handy combo class especially for use in grids.

Marcia
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform