General information
Category:
Forms & Form designer
When would the form object do its thing? In its Init? If so, is there an issue in that the DS has already been created? The only problem I could see is that if you have already pulled data, the data might not be correct (like if ANSI=.F. for the DS, and the form object tries to set it to .T., then it might be too late).
>Another way is to have two environment type objects. One object is global and has the settings for all the VFP set commands. The other would be scoped to your form and part of your form base class. When this object instantiated it would gather the private settings (the subset that is affected by a private data session) from the global class and reissue the set statements. The form object uses the global object to determine values, or it can have the global values overriden.
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