Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize grid in .scx after making it executable
Message
De
28/10/1998 13:15:12
 
 
À
28/10/1998 12:41:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00151733
Message ID:
00151772
Vues:
18
>I created grid in a form with .scx file.
>Complie the file to make it an .EXE
>Now I wan to shuffel and resize te grid and save it
>so next time I open, it should be in the same position.
>
>Any help???

This requires storing the grid and/or form dimension somewhere, and reading them and resetting them the next time the form is run. An exe is always readonly, so there is no way to do it internally. You basically have three choices for dimension storage: a table with fields to hold values like these, an ini file, or the registry. My personal preference is the registry. There is at least one registry writing/reading class available here in the files section. They are generally really easy to use and fairly straight forward.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform