TsToolbar

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #35625
    goliathbe
    Participant

    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.

    #50096
    Support
    Keymaster

    Hello!

    Can you send me the Dfm file for this form?

    I hope I will be able to reproduce an issue with this file.

    #50106
    goliathbe
    Participant

    Sorry 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

    #50111
    goliathbe
    Participant

    I'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

    #50112
    Support
    Keymaster

    Thank you for the screenshot.

    How can I reproduce that?

    #50113
    goliathbe
    Participant

    I'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

    #50114
    Support
    Keymaster

    Thank you.

    You mean an artefacts which occurs after resizing and refreshed immediately?

    #50117
    goliathbe
    Participant

    The 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).

    #50147
    Support
    Keymaster

    I'll try to improve that.

    You uses the SkinManager.ExtendedBorders property?

    Try to enable it, resizing of forms should be better.

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.