Class THMICheckBox
Unit
HMICheckBox
Declaration
type THMICheckBox = class(TCheckBox, IHMIInterface)
Description
THMICheckBox
Hierarchy
Overview
Methods
Properties
|
property AllowGrayed: Boolean read GetAllowGrayed stored false; |
|
property Checked stored false; |
|
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
property Caption write SetCaption stored false; |
|
property CaptionFalse: TCaption read FCaptionFalse write SetCaptionFalse stored true nodefault; |
|
property CaptionTrue: TCaption read FCaptionTrue write SetCaptionTrue stored true nodefault; |
|
property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed stored true nodefault; |
|
property Color read IntGetColor write IntSetColor stored false; |
|
property ColorFalse: TColor read FColorFalse write SetColorFalse stored true default clBtnFace; |
|
property ColorTrue: TColor read FColorTrue write SetColorTrue stored true default clBtnFace; |
|
property ColorGrayed: TColor read FColorGrayed write SetColorGrayed stored true default clBtnFace; |
|
property Font write SetFont stored false; |
|
property FontFalse: TFont read FFontFalse write SetFontFalse stored true; |
|
property FontTrue: TFont read FFontTrue write SetFontTrue stored true; |
|
property FontGrayed: TFont read FFontGrayed write SetFontGrayed stored true; |
|
property OtherValuesIS: TOtherValues read FOtherValues write SetOtherValues stored true default IsGrayed; |
|
property ValueFalse: Double read FValueFalse write SetValueFalse stored true; |
|
property ValueTrue: Double read FValueTrue write SetValueTrue stored true; |
|
property WriteTrueValue: Boolean read FWriteTrue write SetWriteTrue stored true default true; |
|
property WriteFalseValue: Boolean read FWriteFalse write SetWriteFalse stored true default true; |
|
property State: TCheckBoxState read GetState stored false nodefault; |
|
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
|
property BeforeSendAValueToTag: TBeforeSendNumericValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag; |
|
property AfterSendValueToTag: TAfterSendNumericValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag; |
Description
Methods
|
procedure Click; override; |
|
|
procedure RefreshCheckBox(Data: PtrInt); |
|
|
procedure UpdateStatus; |
|
Properties
|
property AllowGrayed: Boolean read GetAllowGrayed stored false; |
: AllowGrayed tells if the control accepts a grayed state. The value of this property depends mainly of your development environment (Lazarus or Delphi).
|
|
property Checked stored false; |
: Use the Checked property to read/write the state of the control. Changes on this property will write the value of property ValueTrue/ValueFalse on the tag if the the respective property WriteTrueValue/WriteFalseValue is set to True .
|
|
property Caption write SetCaption stored false; |
: Caption shows the actual caption of the control. If this property is modified, it changes the properties CaptionFalse, CaptionTrue and CaptionGrayed with the same value, to accelerate your configuration.
See also
- CaptionTrue
- CaptionFalse
- CaptionGrayed
|
|
property CaptionFalse: TCaption read FCaptionFalse write SetCaptionFalse stored true nodefault; |
: CaptionFalse is the text that will be show if the checkbox is unchecked.
See also
- Caption
|
|
property CaptionTrue: TCaption read FCaptionTrue write SetCaptionTrue stored true nodefault; |
: CaptionTrue is the text that will be show if the checkbox is checked.
See also
- Caption
|
|
property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed stored true nodefault; |
: CaptionGrayed is the text that will be show if the checkbox is grayed.
See also
- Caption
|
|
property Color read IntGetColor write IntSetColor stored false; |
: Color shows the actual color of the control. If this property is modified, it changes the properties ColorFalse, ColorTrue and ColorGrayed with the same value, to accelerate your configuration.
See also
- ColorTrue
- ColorFalse
- ColorGrayed
|
|
property ColorFalse: TColor read FColorFalse write SetColorFalse stored true default clBtnFace; |
: ColorFalse is the color of the checkbox if it's unchecked.
See also
- Color
|
|
property ColorTrue: TColor read FColorTrue write SetColorTrue stored true default clBtnFace; |
: ColorTrue is the color of the checkbox if it's checked.
See also
- Color
|
|
property ColorGrayed: TColor read FColorGrayed write SetColorGrayed stored true default clBtnFace; |
: ColorGrayed is the color of the checkbox if it's grayed.
See also
- Color
|
|
property Font write SetFont stored false; |
: Font shows the actual font of the control. If this property is modified, it changes the properties FontFalse, FontTrue and FontGrayed with the same value, to accelerate your configuration.
See also
- FontTrue
- FontFalse
- FontGrayed
|
|
property FontFalse: TFont read FFontFalse write SetFontFalse stored true; |
: FontFalse is the font of checkbox if it's unchecked.
See also
- Font
|
|
property FontTrue: TFont read FFontTrue write SetFontTrue stored true; |
: FontTrue is the font of checkbox if it's checked.
See also
- Font
|
|
property FontGrayed: TFont read FFontGrayed write SetFontGrayed stored true; |
: FontGrayed is the font of the checkbox if it's grayed.
See also
- Font
|
|
property OtherValuesIS: TOtherValues read FOtherValues write SetOtherValues stored true default IsGrayed; |
: The value of this property tells how the checkbox will handle tag values that are others than ValueFalse and ValueTrue.
See also
- TOtherValues
|
|
property ValueFalse: Double read FValueFalse write SetValueFalse stored true; |
: If the value of Tag is equal to ValueFalse , the checkbox is unchecked.
|
|
property ValueTrue: Double read FValueTrue write SetValueTrue stored true; |
: If the value of the Tag is equal to ValueTrue , the checkbox is checked.
|
|
property WriteTrueValue: Boolean read FWriteTrue write SetWriteTrue stored true default true; |
: If WriteTrueValue is true, all actions that check the control will write the property ValueTrue value on the linked tag.
|
|
property WriteFalseValue: Boolean read FWriteFalse write SetWriteFalse stored true default true; |
: If WriteFalseValue is true, all actions that uncheck the control will write the property ValueFalse value on the linked tag.
|
|
property State: TCheckBoxState read GetState stored false nodefault; |
: Tells the actual state of the control (checked, unchecked or grayed).
|
|
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
: Security code that allows access to control.
|
|
property BeforeSendAValueToTag: TBeforeSendNumericValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag; |
: Event triggered before HMIEdit send a value to linked tag.
|
|
property AfterSendValueToTag: TAfterSendNumericValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag; |
: Event triggered when the HMIEdit sent a value to linked tag.
|
Generated by PasDoc 0.14.0.