Toolbutton – MouseEnter

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33352
    schwa226
    Participant

    Hi,

    I have a program with mouse and keyboard handling.

    Now I have 2 TsBitBtn. If I move over with the mouse the button get focused.
    If leave now the mouse over the button and move on to the next with the cursors I have 2 buttons highlighted.

    [attachment=3538:button_delete.JPG]

    How I can deaktivate the MouseOver highlighting?

    Thanks!

    #40866
    Support
    Keymaster

    Hi

    In the sConst.pas unit declared the MouseForbidden : boolean = False variable.
    Try to set this variable to True.

    #40876
    schwa226
    Participant

    QUOTE (Support @ Oct 22 2009, 02:22 PM)
    Hi

    In the sConst.pas unit declared the MouseForbidden : boolean = False variable.
    Try to set this variable to True.

    Great! It works!

    CODE
    uses
         sConst,…

    MouseForbidden := False/True;

    Changing the MouseForbidden while the app is running is no problem.

    Thanks for the help!

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