By StarkMike - 9/20/2006
When i load a maintenance for with no records loaded all the buttons are disabled except for new. I was just wondering what event or condition they checked or how they were disabled. Again this is just my desire to implement "best practices" using your software instead of my way which may not be as efficient, or utilize the StrataFrame framework.
|
By Trent L. Taylor - 9/20/2006
We always use the EditingStateChanged and Navigated events to modify the toolstrip. However, when the form loads, these events may not be called, so we just force the toolstrip to evaluate the BO by looking at the Count property and then adjust itself. Regardless of which event or if we manually refresh, it all goes through the same method to properly set the toolstrip.
|
|