Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update a form property
Message
De
04/06/2002 13:51:10
 
 
À
04/06/2002 13:23:07
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Porto Rico
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00664553
Message ID:
00664626
Vues:
19
Carlos,

Well, if you are compiling to an .exe, I would say it is practically impossible. If it is a .SCX form, your program could open the form as a table and modify the properties field of that object (changing the 'value' line), and issuing a COMPILE FORM. But I don't think the form would be able to do it by itself, because it already has that file open.

All that to say this: you will have to store the value in a table, file, or registry...

Also, look at SAVE TO and RESTORE FROM commands, to use a variable file. But I think using a table is a better solution.

>Acually, I thought there might (or should) be a way to write the new value to the form, since forms in VFP are really databases. I think its a pain for small projects having to deal with extra files.
>
>Thanks for the help,
>
>Carlos
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform