Posted 16 September 2017, 7:57 am EST
Only on Acer Laptops or PCs with Acer's OEM version of XP Home or XP Pro my application (description below) reacts weird. Severals forms consisting of a deep layered system of elastics, indexTabs, VSViewPorts and Grids (all version 7) need up 3 minutes (!) to load, respectively the application freezes totally. Usually the time required to load these forms is not even 2 seconds.
This application is working fine in more than 1.000 installation in Europe. The only problems occured are on Acer XP versions. After installing an original Microsoft XP this problem is not existing anymore. Acer got a copy of my app already and was able to reproduce the problem. But they said it is a software problem and that it is not their problem.
My VB6 applications consists of several forms which use different layers of Sizerone 7 Elastics, Tabs and VSFlexGrid Pro (7). You find an elastic as container for an IndexTab which again hosts several more layers of elastics, IndexTabs, vsViewPorts and vsFlexGrid Pro controls.
After a lot of testing and usage of vbPartner's BenchPartner tool we finally identified the position where everything slowes down. It is the autosize event in autosizemode "rowheight" in the vsFlexGrid Pro 7. Looks like I need to address this problem into the FlexGrid department. But my feeling tells me, that this is a combined problem of FlexGrid AND Sizer since the size of the grid is determined through the sizer control (autosize children = azGrid).
Just to give you a feeling for the constallation of the controls in that form:
On the form itself is an elastic control with allignment = fill and autosize children = azGrid
This elastic control hosts an IndexTab which size is depending on the form size through the main elastic (as described above)
This indexTab again hosts an elastic control (allignment = fill; autosize children = azGrid)
this elastic control hosts an other indexTab
on the first tab is an elastic again (allignment = fill; autosize children = azGrid)
the FlexGrid pro (7) where the problem occures is hosted by this elastic
Any idea? Thanks in advance
Michael Lutz
BITsoft