User Tools

Site Tools


en:projects:sgjcontrols

This is an old revision of the document!


SGJ Controls

TSGJButton

Button with color styling and images display.

On Lazarus it uses bgrabitmap.

On Delphi it uses Direct2D on supported Delphi and Windows version and Canvas on older versions.

ButtonSettings Property:

  • Title - string, button text
  • Description - string, second line text (only if ShowDescription set to true)
  • ColorNormal - TColor, button color
  • ColorHover - TColor, color when mouse move
  • Images - TImagelist
  • ImageIndex - image index from imagelist
  • ShowDescription - boolean, if true then show second line with description
  • FontDescription - font for description
  • ShowBorder - if true then show border
  • BorderColor - TColor, border color
  • RoundedCorners - boolean, enable rounded corners
  • TitleOnCenter - Move title to center(only with ShowDescription=false and no images)

TSGJToogleButton

TSGJLinkLabel

Label component with URL property. URL adress is executed with default system application when click. No additional code needed.

TSGJPanel

Panel component with customized border. Property:

  • Title - string, if set, then panel display Header like groupbox.
  • BorderColor - TColor, border color
  • ShowBorder - boolean, if true then show border

Demo preview

en/projects/sgjcontrols.1681151614.txt.gz · Last modified: 2023/04/10 20:33 by sgj

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki