TsRoundBtn not initialized properly

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #37544
    HeDiBo
    Participant

    In the constructor of TacCustomRoundBtn:

    Code:
    constructor TacCustomRoundBtn.Create(AOwner: TComponent);
    begin
    inherited;
    FImageIndex := -1;
    FImageIndexHot := -1;
    FImageIndexPressed := -1;
    FPaintOptions := TacPaintButtonOptions.Create;
    FPaintOptions.OnInvalidate := Self.DoInvalidate;
    FLayout := blGlyphLeft;
    FShowCaption := True;
    FReflected := False;
    FWordWrap := True;
    TabStop := True;
    end;

    These statements are missing:

    Code:
    FImageIndexDisabled := -1;
    FImageIndexSelected::= -1;
    #56930
    Support
    Keymaster

    You are right, thank you!

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