Suggestion/Request: EditingState on MaintenanceForm ToolStrip


Author
Message
Ben Hayat
Ben Hayat
Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
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
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
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 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()

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.

Ben Hayat
Ben Hayat
Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)Advanced StrataFrame User (584 reputation)
Group: Forum Members
Posts: 374, Visits: 1.2K
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! Wink



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! Smile



Please give it some thought!

..ßen
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