TsTabControl – incorrectly drawn

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #37596
    Spirit
    Participant

    Hello,

    Used skin – Opus. Versions checked – 12.10, 12.12, 12.16. OS – Windows 7 Pro. Delphi 2010.

    The TsTabControl control has several items (tabs) which buttons don't fit completely for the current controls size. As a result – I have two scroll buttons appeared at the left side for the tabs scrolling ('<' and '>', picture problem1.png). Then I'm pressing button '>'. First tab button disappeared, no other changes detected. Pressing button '>' for several times – no changes (picture problem2.png). Trying to press the shown tabs buttons for several times – without success until I pressed a place closer to the most left button. O-o-ops! The tabs buttons are redrawn (picture problem3.png).

    The same thing when I'm trying to scroll back left via the left button ('<') but drawn artefacts are slightly different. Scroll to left/right is OK if I'm pressing a tab button which is partly drawn (for example, on problem1.png there is a fourth button which has only first letter drawn; when I'm pressing this fourth button then they scrolled fine, picture problem4.png). Please feel free to ask me any details if needed. Best regards, Sergey

    #57063
    Support
    Keymaster

    Hello

    Can you give me a Dfm-file for this form?

    I will try to make a test-app based on your form.

    #57067
    Spirit
    Participant

    Yes, here it is. But it is quite large…

    #57069
    Support
    Keymaster

    What is TSpTBXStatusBar, TSpTBXPanel and other controls?

    Where can I download it?

    #57071
    mol
    Participant

    Those are ancient Delphi components. I didn't even know that they are still around.

    http://www.silverpointdevelopment.com/sptbxlib/

    #57074
    Spirit
    Participant

    Yes, these components are quite rare but very useful. I have attached the requested library plus the ToolBar library which used by SpTBXLib.

    I can try to make a simple application without SpTBXLib to check whether it is a root cause or not.

    #57077
    Support
    Keymaster
    'Spirit' wrote:
    I can try to make a simple application without SpTBXLib to check whether it is a root cause or not.

    Please, do it if you can.

    #57083
    Spirit
    Participant

    Here is a test project which easily reproduces the problem.

    For proper work please set SkinDirectory in SkinManager and select, for example, the “Opus” skin.

    If there is no skin selected, everything is drawn correctly.

    #57084
    Support
    Keymaster

    Thank you.

    This issue will be solved soon.

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