Information générale
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
>>>is this grid possible in vfp ?
>Please Share Some detail or Example.
1. Create a cursor with all fields as varchar(255).
2. Add a blank row at the top of the cursor and populate the remaining rows from your data.
3. In the grid, add your combo boxes to each column
3. Use DynamicCurrentControl to show the combo box only when Recno = 1
4. Add your code to populate combo boxes and filter
The real trick is to lose the idea that the grid exactly shows your data from the table..
The cursor for the grid is there just to drive the grid to behave as you wish - tied only loosely to the original data.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement