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



How does the navigational toolbar with...Expand / Collapse
Author
Message
Posted 05/01/2006 11:31:29 AM
StrataFrame Beginner

StrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame BeginnerStrataFrame Beginner

Group: Forum Members
Last Login: 06/19/2007 3:55:23 PM
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
Post #1022
Posted 05/01/2006 1:12:32 PM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: 10/21/2008 9:20:58 AM
Posts: 2,685, Visits: 1,887
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


www.bungie.net
Post #1025
« 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 5:57pm

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