Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Auto grid generator
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Auto grid generator
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01509236
Message ID:
01509236
Vues:
141
With the help of many on this site I am re-writing my data entry form framework which will now use a cursor in the navigation grid rather than a copy of the main data table.

Regarding the navigation grid, I want to automate the grid creation process using data stored in a form property. The developer simply fills in the form property with CSV of the fields from the main table he desires to be in the navigation grid and a form method then parses and creates the cursor and indices then populates the grid properties accordingly.

2 questions come to mind my little mind. How can I harvest from the table their field “captions” to use in the nav. grid headers and is there a way to calculate the column widths programmatically based on the field with and font used? I didn't see that capability in the aFields() function.

Thank you very much in advance,

Gary De Lecce
Driving toward a Tactical Edge
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform