Gino

Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: TsSpeedButton Down and Mouse over #43846
    Gino
    Participant
    'Hamilton' wrote:

    What skin are you using?

    I'm using “Office 2007 Black”. I checked the “WEB2” skin and there is a difference between the mouse over state and the down state. Although, it doesn't work out for me to get the “Office 2007 Black” OK.

    'Hamilton' wrote:

    I wonder if the problem you're describing is that the button remains in a down state after you've stopped clicking on it? – if that is the case it's not a skin issue, its a behaviour caused by the way the button is setup and you'll either want to set the button group to 0 so it doesn't have a down state or manually control the down state. Let me know if I've misunderstood your problem.

    No, the button is not in the down state anymore. The group index of the speedbutton is 0. I suppose it is something with the skin setup that I have overlooked.

    in reply to: TsSpeedButton Down and Mouse over #48482
    Gino
    Participant
    'ivanov34' wrote:

    It is probably necessary to transfer focus to other object

    Code:
    procedure TForm1.sSpeedButton1MouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);
    begin
    XXX.SetFocus;
    end;

    No, a sSpeedButton can not get the focus. The problem is that the mouse is still over the button and the buttons still shows the active state.

Viewing 2 posts - 1 through 2 (of 2 total)