How to: ShowCaption:=false how show Glyph in TsBitBitton centered exactly ?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #52964
    Vector
    Participant

      function TsBitBtn.TextRectSize: TSize;

      var

      R: TRect;

      DrawStyle: longint;

      begin

      if not ShowCaption then

      begin

      Result.cx := 0;

      Result.cy := 0;

      exit;

      end;

      …..

      #53042
      Support
      Keymaster

        Hello, Vector

        What version of used package? I can't repeat a wrong painting…

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