Class THMIButton
Unit
Declaration
type THMIButton = class(TSpeedButton, IHMIInterface)
Description
: Must be implemented.
Hierarchy
- TSpeedButton
- THMIButton
Overview
Methods
procedure CMButtonPressed(var Message: TMessage); message CM_BUTTONPRESSED; |
|
procedure SetHMITag(t:TPLCTag); |
|
function GetHMITag:TPLCTag; |
|
function GetControlSecurityCode:UTF8String; |
|
procedure CanBeAccessed(a:Boolean); |
|
procedure MakeUnsecure; |
|
procedure SetOtherValues(v:TOtherValues); |
|
procedure SetButtonType(v:TButtonType); |
|
function GetCaption:TCaption; |
|
procedure SetCaptionDown(v:TCaption); |
|
procedure SetCaptionUp(v:TCaption); |
|
procedure SetCaptionGrayed(v:TCaption); |
|
function GetColor:TColor; |
|
procedure SetColorDown(v:TColor); |
|
procedure SetColorUp(v:TColor); |
|
procedure SetColorGrayed(v:TColor); |
|
procedure SetValueDown(v:Double); |
|
procedure SetValueUp(v:Double); |
Properties
property OtherValuesIs: TOtherValues read FOtherValues write SetOtherValues; |
|
property ButtonType: TButtonType read FButtonType write SetButtonType; |
|
property AfterGray: Boolean read FAfterGrayed write FAfterGrayed; |
|
property Caption: TCaption read GetCaption; |
|
property CaptionDown: TCaption read FCaptionDown write SetCaptionDown; |
|
property CaptionUp: TCaption read FCaptionUp write SetCaptionUp; |
|
property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed; |
|
property Color: TColor read GetColor; |
|
property ColorDown: TColor read FColorDown write SetColorDown; |
|
property ColorUp: TColor read FColorUp write SetColorUp; |
|
property ColorGrayed: TColor read FColorGrayed write SetColorGrayed; |
|
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
property ValueDown: Double read FValueDown write SetValueDown; |
|
property ValueUp: Double read FValueUp write SetValueUp; |
|
property Down: Boolean read GetDown; |
|
property GroupIndex: LongInt read GetGroupIndex; |
|
property AllowAllUp: Boolean read GetAllowAllUp; |
|
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
Description
Methods
procedure CMButtonPressed(var Message: TMessage); message CM_BUTTONPRESSED; |
|
: Evita o processamento da mensagem no botão. |
procedure SetHMITag(t:TPLCTag); |
|
: See also |
function GetHMITag:TPLCTag; |
|
seta um tag : See also |
function GetControlSecurityCode:UTF8String; |
|
: See also |
procedure CanBeAccessed(a:Boolean); |
|
: See also |
procedure MakeUnsecure; |
|
: See also |
procedure SetOtherValues(v:TOtherValues); |
|
: See also |
procedure SetButtonType(v:TButtonType); |
|
function GetCaption:TCaption; |
|
: Retorna o caption corrente do botão; |
procedure SetCaptionDown(v:TCaption); |
|
procedure SetCaptionUp(v:TCaption); |
|
procedure SetCaptionGrayed(v:TCaption); |
|
function GetColor:TColor; |
|
: Retorna a cor corrente do botão; |
procedure SetColorDown(v:TColor); |
|
procedure SetColorUp(v:TColor); |
|
procedure SetColorGrayed(v:TColor); |
|
procedure SetValueDown(v:Double); |
|
procedure SetValueUp(v:Double); |
|
Properties
property OtherValuesIs: TOtherValues read FOtherValues write SetOtherValues; |
|
: Diz como o botão irá interpretar valores diferentes de ValueDown e de ValueUp. ; See also |
property ButtonType: TButtonType read FButtonType write SetButtonType; |
|
: Define qual será o comportamento do botão. See also |
property Caption: TCaption read GetCaption; |
|
: Retorna o caption corrente do botão. |
property CaptionDown: TCaption read FCaptionDown write SetCaptionDown; |
|
: Caption do botão caso o valor do tag associado seja igual a ValueDown See also |
property CaptionUp: TCaption read FCaptionUp write SetCaptionUp; |
|
: Caption do botão caso o valor do tag associado seja igual a ValueUp See also |
property CaptionGrayed: TCaption read FCaptionGrayed write SetCaptionGrayed; |
|
: Caption do botão caso o valor do tag seja diferente de ValueDown e ValueUp. See also |
property Color: TColor read GetColor; |
|
: Retorna o cor corrente do botão. |
property ColorDown: TColor read FColorDown write SetColorDown; |
|
: Cor do botão caso o valor do tag associado seja igual a ValueDown See also |
property ColorUp: TColor read FColorUp write SetColorUp; |
|
: Cor do botão caso o valor do tag associado seja igual a ValueUp See also |
property ColorGrayed: TColor read FColorGrayed write SetColorGrayed; |
|
: Cor do botão caso o valor do tag seja diferente de ValueDown e ValueUp. See also |
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
: Tag numérico usado pelo controle. See also
|
property ValueDown: Double read FValueDown write SetValueDown; |
|
: Valor do tag que será considerado como botão precionado. |
property ValueUp: Double read FValueUp write SetValueUp; |
|
: Valor do tag que será considerado como botão solto. |
property Down: Boolean read GetDown; |
|
: Retorna se o botão esta precionado ou não. Esconde a propriedade herdada. |
property GroupIndex: LongInt read GetGroupIndex; |
|
: GroupIndex do botão. Esconde a propriedade herdada. |
property AllowAllUp: Boolean read GetAllowAllUp; |
|
: Esconde a propriedade herdada. |
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
|
: Security code that allows access to control. |
Generated by PasDoc 0.14.0.