How does the navigational toolbar with multiple lists?


Author
Message
Simon White
Simon White
StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)StrataFrame Beginner (14 reputation)
Group: Forum Members
Posts: 8, Visits: 9
Hi



I have not yet had a chance to use Strataframe because of install problems with VBExpress but I watched the development video and saw the navigation buttons on the tool bar. I often create forms with several navigational lists and in my case I have a navbar attached to each list so you can easily add and delete records to the associated list. Since I saw the navigation buttons etc. in the toolbar I wondered how this model works with multiple lists on the same form with I assume only one toolbar.



Can someone explain how this works or does not work?



Thanks,

Simon
StrataFrame Team
S
StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)StrataFrame Developer (6.5K reputation)
Group: StrataFrame Developers
Posts: 3K, Visits: 2.5K
Simon,



We have a component called the MaintenanceFormToolstrip that is the component you saw when you watched the video. It communicates directly with the form, and the form has collections of business objects that belong to "actions." There is a navigate action, a save action, an add action, etc, and you decide which business objects participate in the actions. However, there is only one collection for each action, so if you have multiple lists, you would be able to use the maintenance form toolstrip for one of the lists, but the other lists, you would have to add your own toolbars.



It would be slightly more work than using the maintenance form toolstrip, but not a whole lot, because after building your toolbars, you would just have one line of code within each Click event of the buttons. For instance, the add button for the toolstrip on list 3 would look like this:



Public Sub AddList3_Click(ByVal sender As Object, ByVal e As EventArgs)

'-- Call Add() on the business object

List3BO.Add()

End Sub
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