General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>>But that wasn't what I meant. I don't think altering settings in a form's Load is a good idea, at least not without saving and resetting the old value. Doesn't really belong in a form method, either, more like the app level.
>
>Form's Load (or DE BeforeOpenTables) is the place to set data session specific settings. So, in our BaseForm class we have all the sets command (or it could be a separate class with all the settings, which you instantiate). This way it will restore the defaults when form is closed, though may be unnecessary for forms using private DS.
What can I say? I don't agree. IMO those kind of settings are at the app level, not the form level. Both work, of course, it's just a question of style and approach.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only