Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is there a way to record a value to a property at runtim
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00170090
Message ID:
00170101
Views:
21
>Hi all,
>
>I wonder if this is possible. Basically, I'd like to record in one of the form's properties a value that is selected by the user and not having to record that in a table, but in the actual form's table (this is at runtime). I know the property must be initialized, so the idea is, in the next session the user will have as default value what was selected in a previous session.
>
>Thanks,
>
>
>Gil

Gil --

Most applications I've seen use either a table or a text file (like an .INI file) to do this. This approach is easy and clean. When you first open the form, read the value from the table or text file in the form's LOAD() or INIT().
When you close the form, save the value in the form's DESTROY().

This is probably not the answer you're looking for, but it works well.

Bill
Previous
Reply
Map
View

Click here to load this message in the networking platform