﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » WinForms (How do I?)  » Listview Child Form</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 06:34:04 GMT</lastBuildDate><ttl>20</ttl><item><title>Listview Child Form</title><link>http://forum.strataframe.net/FindPost21556.aspx</link><description>I have a listview on a form that shows related child records - this works fine and the records in the listview update correctly as the main BO is navigated through. I've added the buttons and settings to add a child record maintenance form via the listview automation. The buttons dim/activate as appropriate and the child form launches but it's never in add or edit mode - it seems it can't find linked records. It has the correct BO (the same BO as the child listview on the main form) and the ChildFormDialogue has a translation set.&lt;br&gt;
&lt;br&gt;
I've been going round in circle on this one for some while. Any thoughts where to look for that setting I've obviously forgotten or got wrong.&lt;br&gt;
&lt;br&gt;
Thanks&lt;br&gt;
&lt;br&gt;
Mike&lt;br&gt;
&lt;br&gt;</description><pubDate>Fri, 16 Jan 2009 15:04:20 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Listview Child Form</title><link>http://forum.strataframe.net/FindPost21564.aspx</link><description>Gotcha...glad you found it.</description><pubDate>Fri, 16 Jan 2009 15:04:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: Listview Child Form</title><link>http://forum.strataframe.net/FindPost21563.aspx</link><description>Found the issue - in the child form I had mistakenly added a default fill routine in the parent form loading which was over-riding the parent-child selection and so never showing the linked record.</description><pubDate>Fri, 16 Jan 2009 14:50:45 GMT</pubDate><dc:creator>Mike Tomlin</dc:creator></item><item><title>RE: Listview Child Form</title><link>http://forum.strataframe.net/FindPost21557.aspx</link><description>[quote]but it's never in add or edit mode [/quote]&lt;/P&gt;&lt;P&gt;When you add a record with the Add method, then the BO is placed in Add mode.&amp;nbsp; And when you call Edit on a BO, then the BO is placed in Edit mode.&amp;nbsp; If you have a BO set to ManageUIReadonlyState = False, then the fields will always be accessible and the IsDirtyChanged event will fire when a record is modified.&amp;nbsp; Also, at a more granular level, when you set the IgnoreManageReadonlyUI property on a control to True, then it will be editable at all times.&lt;/P&gt;&lt;P&gt;That is the quick and dirty version of the editing state and the BOs managing the Readonly (or enabled) state of the controls.&amp;nbsp; For a quick test here, just set the ManageUIReadonlyState property on the BO to false and see if all of the fields are enabled.&amp;nbsp; Then you will know that the Edit is not being called.&amp;nbsp; This should at least help you start troubleshooting the problem.</description><pubDate>Fri, 16 Jan 2009 08:16:20 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>