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



Gridview to Maintenance form sampleExpand / Collapse
Author
Message
Posted 09/14/2006 11:10:56 PM


StrataFrame User

StrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame UserStrataFrame User

Group: StrataFrame Users
Last Login: 11/07/2008 5:12:40 AM
Posts: 150, Visits: 529
We you be providing a sample showing how to launch a child form from a windows datagridview control instead of a listview? Just something pretty simple showing and "Add, Change, Delete", Also in VB?

Thanks

Michael

Post #2826
Posted 09/15/2006 9:47:13 AM


StrataFrame Developer

StrataFrame Developer

Group: StrataFrame Developers
Last Login: Yesterday @ 3:20:54 PM
Posts: 4,769, Visits: 4,731
There is actually several samples already available for launching a child form through the ChildFormDialog.  However, the 1.5 release has more samples, including this one, and is in a more structured format.  Regardless of whether you are using a ListView of a grid, launching a child form through the ChildFormDialog control is exactly the same.  The bottom line is that is BO be set to the record you wish to modify before calling the ChildFormDialog.  When using a listview or a grid, you will need to call the NavigateToPrimaryKey or SeekToPrimaryKey to set the index to the proper record before calling the child form.  This will ensure that the CurrentRowIndex of the BO is pointing to the record you wish to modify on the child form.
Post #2834
« 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:14am

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