Maintenance form question...


Author
Message
StarkMike
StarkMike
Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)Advanced StrataFrame User (738 reputation)
Group: Forum Members
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.
Trent Taylor
Trent Taylor
StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)StrataFrame Developer (14K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 7K
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.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search