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



Suggestion/Request: EditingState on...Expand / Collapse
Author
Message
Posted 06/04/2007 2:28:00 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
It'd be helpful for the user to see the EditingState on the toolstrip. You can make a property "Show EditingState" to True or False, and we can check it to show or not.

Secondly, is it possible to have a Sort Drop-Down Button box on toolstrip that sisplays all the fields of the BO that the user can sort by?
Thanks!

..ßen
Post #9290
Posted 06/04/2007 8:41:16 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 5:04:58 PM
Posts: 4,780, Visits: 4,744
You can make a property "Show EditingState" to True or False, and we can check it to show or not.

You don't have to wait for an enhancement.  You can do this in minutes  .  If this will be common you can inherit the MaintenanceFormToolstrip and add this logic to the control and then use your inherited toolstrip. 

In short, just add a label to the end of the toolstrip and in the EditingStateChanged event of the BO you can set the label text to the Editing State:

lblToolstripLabel.Text = MyBO.EditingState.ToString()

Secondly, is it possible to have a Sort Drop-Down Button box on toolstrip that sisplays all the fields of the BO that the user can sort by?

The only issue with this is that the MaintenanceFormToolstrip does not represent a single BO.  The MaintenanceFormToolstrip respects the settings of the IncludeInForm properties on the form and the BOs.  All SF forms have a property called BusinessObjects that is a collection of all of the BOs that are dropped on that form.  The MaintenanceFormToolstrip represents them all according to the IncludeInForm settings.  So the primary problem is that you really do not know which BO represent in the Sort.

Post #9304
Posted 06/04/2007 8:55:15 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: Forum Members
Last Login: 10/31/2007 5:20:05 PM
Posts: 374, Visits: 1,197
You don't have to wait for an enhancement. You can do this in minutes [Wink] . If this will be common you can inherit the MaintenanceFormToolstrip and add this logic to the control and then use your inherited toolstrip.

In short, just add a label to the end of the toolstrip and in the EditingStateChanged event of the BO you can set the label text to the Editing State:

lblToolstripLabel.Text = MyBO.EditingState.ToString()

I actually thought about that after posting... Seriously!

The only issue with this is that the MaintenanceFormToolstrip does not represent a single BO. The MaintenanceFormToolstrip respects the settings of the IncludeInForm properties on the form and the BOs. All SF forms have a property called BusinessObjects that is a collection of all of the BOs that are dropped on that form. The MaintenanceFormToolstrip represents them all according to the IncludeInForm settings. So the primary problem is that you really do not know which BO represent in the Sort.

I understand your explanation and and the restriction that exists.

However (with all due respect), I don't like the way the toolstrip gets it's BO.
Can you give us an additional Toolstrip that allows us hookup BO? Man that would solve several of my problems? Come on, I'll buy you a Beer!

Please give it some thought!

..ßen
Post #9306
« 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 6:16am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.141. 10 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.