Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this grid possible in vfp
Message
De
22/08/2017 13:20:32
 
 
À
21/08/2017 12:13:13
Mk Sharma
Shrishti Solutions
Mumbai, Inde
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01653517
Message ID:
01653586
Vues:
81
>>>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
Fil
Voir

Click here to load this message in the networking platform