- This topic has 8 replies, 2 voices, and was last updated 11 years, 9 months ago by Support.
-
AuthorPosts
-
January 30, 2013 at 12:47 pm #35625goliathbeParticipant
Unfortunately I cannot deliver an example application to demonstrate my problem, but since about 2 versions ago, I get a list index out of bounds error at startup of my Delphi application. The problem seems to come from TsToolbar somewhere along the line.
My application has a TsToolbar, with TsToolButton's and also TsPanel components. The error only occurs during startup.
Stack trace:
http://www.velleman.eu/images/tmp/StackTrace.png
Screenshot of the toolbar:
http://www.velleman.eu/images/tmp/Toolbar.png
Strangely enough, the error seems to be related to timing. The error does not always occur consistently. Reverting to an older version of AlphaControls solves the problem (somewhere < 8.13). Sorry for the abstract problem description, but I'm hoping it might ring a bell or as a developer of the components you might have a better clue as to what might be going on.
February 1, 2013 at 7:09 am #50096SupportKeymasterHello!
Can you send me the Dfm file for this form?
I hope I will be able to reproduce an issue with this file.
February 4, 2013 at 8:01 am #50106goliathbeParticipantSorry I took so long to reply but I fell ill with the flu
I've attached the dfm file, it's part of a commercial application used in home automation
February 4, 2013 at 1:45 pm #50111goliathbeParticipantI've managed to get it error free (for now) by working around the problem. I'm now using a TsPanel skinned as TOOLBAR, with TsSpeedButton's skinned as TOOLBUTTON. Also using TsPanel's skinned as GRIPH. But only for the top toolbar.
I've also been experiencing a lot of repaint issues, all of which are like this:
http://www.velleman.eu/images/tmp/repaint.png
> The black artifacts, usually after resizing
I'm using version 8.17, fresh reinstall
February 4, 2013 at 1:51 pm #50112SupportKeymasterThank you for the screenshot.
How can I reproduce that?
February 4, 2013 at 2:02 pm #50113goliathbeParticipantI've attached a demo project. Resize the form and you should see black squares to the right, sometimes these remain black.
It may have something to do with the TsPageControl.
Thank you for your help
February 4, 2013 at 2:51 pm #50114SupportKeymasterThank you.
You mean an artefacts which occurs after resizing and refreshed immediately?
February 4, 2013 at 3:48 pm #50117goliathbeParticipantThe black squares appear, which are probably the areas that still need to be repainted. This is acceptable, but, sometimes these areas remain black partially (in the IDE and in the built application).
February 11, 2013 at 9:28 am #50147SupportKeymasterI'll try to improve that.
You uses the SkinManager.ExtendedBorders property?
Try to enable it, resizing of forms should be better.
-
AuthorPosts
- You must be logged in to reply to this topic.