Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update a form property
Message
From
04/06/2002 13:51:10
 
 
To
04/06/2002 13:23:07
Carlos Mergal
US Bankruptcy Court - Puerto Rico
San Juan, Puerto Rico
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00664553
Message ID:
00664626
Views:
18
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
Previous
Reply
Map
View

Click here to load this message in the networking platform