User Tools

Site Tools


en:projects:sgjcontrols

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:projects:sgjcontrols [2023/04/11 14:10] – [TSGJToogleButton] sgjen:projects:sgjcontrols [2023/04/12 18:10] (current) – [TSGJPanel] sgj
Line 15: Line 15:
 On Delphi it uses Direct2D on supported Delphi and Windows version and Canvas on older versions. On Delphi it uses Direct2D on supported Delphi and Windows version and Canvas on older versions.
  
-ButtonSettings Property: +Property: 
-  * Title - string, button  text+  * Caption - string, button  text
   * Description - string, second line text (only if ShowDescription set to true)    * Description - string, second line text (only if ShowDescription set to true) 
   * ColorNormal - TColor, button color   * ColorNormal - TColor, button color
Line 50: Line 50:
 On Delphi Direct2D is switched to Canvas if not supported. If enable Direct2D with GDI+, then switched D2D to GDI+ when not supported. On Delphi Direct2D is switched to Canvas if not supported. If enable Direct2D with GDI+, then switched D2D to GDI+ when not supported.
  
 +<code>
 Property: Property:
 ButtonColor             :TColor ButtonColor             :TColor
 ButtonCheckedColor      :TColor ButtonCheckedColor      :TColor
 ButtonUnCheckedColor    :TColor ButtonUnCheckedColor    :TColor
-Title                   :String+Caption                 :String
 TextBeforeButton        :Boolean TextBeforeButton        :Boolean
 Checked                 :Boolean Checked                 :Boolean
 +</code>
 ===== TSGJLinkLabel ===== ===== TSGJLinkLabel =====
  
Line 64: Line 66:
 Panel component with customized border.  Panel component with customized border. 
 Property: Property:
-  * Title - string, if set, then panel display Header like groupbox.+  * Caption     - string, if set, then panel display Header like groupbox.
   * BorderColor - TColor, border color   * BorderColor - TColor, border color
-  * ShowBorder - boolean, if true then show border+  * ShowBorder  - boolean, if true then show border
  
 ===== Demo preview ===== ===== Demo preview =====
 {{ :en:projects:sgjcontrols.jpg?400 |}} {{ :en:projects:sgjcontrols.jpg?400 |}}
en/projects/sgjcontrols.1681215056.txt.gz · Last modified: 2023/04/11 14:10 by sgj

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki