﻿<?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 » Issues  » Stratalistview and ApplicationThreadManager</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 03:47:09 GMT</lastBuildDate><ttl>20</ttl><item><title>Stratalistview and ApplicationThreadManager</title><link>http://forum.strataframe.net/FindPost31682.aspx</link><description>This issue only seems to come up on Windows server 2003, not on windows 7.&lt;br/&gt;&lt;br/&gt; I have an ApplicationThreadManager on the main mdi form.&amp;nbsp; On a child form I have a stratalistview in a themedSplitContainer.Panel.&amp;nbsp; When I fill the the listview using&amp;nbsp; a separate thread, the scrollbars dissapear.&lt;br/&gt;&lt;br/&gt;If you put a msgbox at the end of the fill method of that listview on that separate thread, the scrollbar is there.&amp;nbsp; When you click ok, and the thread has completed, the scrollbar disappears.&amp;nbsp; Anyone else observe this phenomenon? &lt;br/&gt;&lt;br/&gt;I worked around this issue by only retrieving the data from a separate thread.&amp;nbsp; But still wondered why this might happen.&lt;br/&gt;&lt;br/&gt;Thanks,&lt;br/&gt;&lt;br/&gt;Marcel</description><pubDate>Wed, 02 Jan 2013 07:41:58 GMT</pubDate><dc:creator>Marcel Heitlager</dc:creator></item><item><title>RE: Stratalistview and ApplicationThreadManager</title><link>http://forum.strataframe.net/FindPost31684.aspx</link><description>Well, the message pump may not have completed before the scroll bars are fully initialized.&amp;nbsp; I have seen stuff like this before on different machines when there is, as you are dealing with, a threading issue.&amp;nbsp; Generally, I will move the loading logic to a thread safe location after all initialization logic has taken place on the core controls.&lt;br/&gt;&lt;br/&gt;A semi-no-so-clean way to test this is to create a timer and drop it on the form and set it to something like 2-3 seconds.&amp;nbsp; Let this trigger your logic and see if the problem persists.&amp;nbsp; If not, then you know that the controls were not fully initialized and that a threaded conflict occurred.&amp;nbsp; In this case, you can just move the loading logic further downstream until you resolve it.&amp;nbsp; For example, override the OnLoad event of the form, call the base logic, then call your logic.&amp;nbsp; If that doesn't work, move to the OnShown, etc.</description><pubDate>Wed, 02 Jan 2013 07:41:58 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item></channel></rss>