Mike Yearwood
Toronto, Ontario, Canada
General information
Category:
Coding, syntax & commands
>The problem is I have hundreds of forms with multiple pages and controls. All these forms and code has been working for years and was designed to save the current alias on entry and reset it on exit. This all worked fine until I started using grids to display rows of data instead of a list control. It looks like this problem only occurs with the grid control.
In an event driven environment, you can NEVER be certain what the alias is, so code accordingly. A timer could fire, which changes the alias and forgets to put it back. Subsequent methods should be unaffected.
So, in each method, remember the current alias, select the expected alias, do what needs to be done, reset the alias.
There have been many classes created that remember and reset such settings.
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