StrataFrame Forum
Home      Members   Calendar   Who's On
Welcome Guest ( Login | Register )
      



Maintenance form question...Expand / Collapse
Author
Message
Posted 09/20/2006 10:37:25 AM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame 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.
Post #2926
Posted 09/20/2006 10:42:02 AM


StrataFrame Developer

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.
Post #2927
« Prev Topic | Next Topic »


Reading This TopicExpand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ben Chase, Trent L. Taylor, Steve L. Taylor

PermissionsExpand / Collapse

All times are GMT -6:00, Time now is 9:49am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.094. 9 queries. Compression Enabled.
Site Map - Home - My Account - Forum - About Us - Contact Us - Try It - Buy It

Microsoft, Visual Studio, and the Visual Studio logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries.