Using multiple MaintenanceFormToolStrips on the same form


Author
Message
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
It is possible, but I would not go down that road.  If you are using ListVIews, then there is a MUCH better way!  If you open up the StrataFlix sample, we show a number of different scenarios where we do this very thing.  The ListView has the ability to handle the Add, Edit, and Delete for you and ties into a ChildFormDialog.  There is literally no coding of those controls and they will be automatically handled (enabled states, etc.).

Instead of me giving a play-by-play, you may first want to open up the StrataFlix sample to see what we do there as I believe it will save you some time.

Buluc Celik
Buluc Celik
StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)StrataFrame Beginner (3 reputation)
Group: Forum Members
Posts: 3, Visits: 8
Hi,



I am trying to use two MaintenanceFormToolStrips on the same form, where I manage a main business object, and its child business object together. I have two listviews, and I would like to use one MaintenanceFormToolStrip for each. However, I have seen that MaintenanceFormToolStrips use the PrimaryBusinessObject of the form. I couldn't find a way to set another business object to it.



Is it possible to use it like that?



Thanks,



Buluc
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