Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get windows to save positions in APP
Message
 
À
20/08/1999 10:44:27
Mark Hall
Independent Developer & Voip Specialist
Keston, Kent, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00255821
Message ID:
00255901
Vues:
33
>>OK, I'm hitting a wall here, and I don't know how to get around it...even though it seems that everyone else knows how to scale it!!!
>>
>>HOW THE !@## DO YOU GET YOUR APP TO SAVE THE POSITION AND SIZE WHEN THE USER EXITS THE PROGRAM?!?!?!
>>
>>I've got RESOURCE ON in my prog that calls my forms and stuff, my foxuser.dbf is in the proper place...HOW DO I USE IT??? Am I totally missing something here? ARGH!
>>
>>So to recap from my rantings: I need to have my apps remember the state in which they were exited (window state, position, etc.)...for some reason I thought that this was implicite by setting RESOURCE ON, but I guess not. Any help would be appreciated:) (happy friday:))
>
>Nice idea - but no.
>VFP won't save window positions automatically on exiting your application. You'll have to record this info somewhere (registry or .INI file) when your application terminates, then on startup, recover the info and re-set the postions.

What the?!?!? really? damn, I thought that was the reason for using the stupid foxuser.??? files...argh...well can you explain the best way about using a .ini file like you suggest?

Thanks for the reply:)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform