TsPageControl Double-click Tab

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #37219
    Stephane Senecal
    Participant

    Hello,

    There's an event OnDblClick on the TsPageControl but it is not triggered when we actually double-click on it.

    I would like to catch this event so I can shrink the PageControl when we double-click on a tab just like the Ribbon Control.

    I would need to catch the Mouse Down on the selected tab also. Now it works only for unselected ones.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55830
    Support
    Keymaster

    Hello!

    These events will work in the nearest release.

    #55836
    Stephane Senecal
    Participant

    I'm using 11.19 for now. I'll update to 11.21 and test again.

    Thank you.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55837
    Stephane Senecal
    Participant

    I just tested it and it still doesn't work.

    I don't know if you had ShowCloseBtns when you tested, but they are not activated for my test.

    The event OnDblClick is never triggered.

    The event OnMouseDown is triggered when changing tabs, but not if i'm clicking the selected tab.

    The event OnMouseDown is triggered when Double-Clicking the selected tab.

    The problem is that I cannot know if the user single-clicked the selected tab or double-clicked it.

    I don't know if it is important, but I'm using Delphi 7.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

    #55861
    Support
    Keymaster

    I'm sorry, my previous post was from 03 December 2016, but AlphaControls v11.21 has been released already (29.11.2016).

    So, I meant the next nearest release (version 11.22). You should check it when this release will be uploaded.

    #55866
    Stephane Senecal
    Participant

    Ah! Cool.

    Sorry for the misunderstanding.

    Thank you again.

    Stephane Senecal
    CIS Group
    Delphi programmer since 2001

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