| | | 
StrataFrame User
       
Group: StrataFrame Users Last Login: 07/09/2008 2:20:16 PM Posts: 436, Visits: 944 |
| | 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. |
| | | | 
StrataFrame Developer

Group: StrataFrame Developers Last Login: Today @ 9:49:13 AM Posts: 4,796, Visits: 4,767 |
| | 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. |
| |
|
|