pascalSCADA OPM: HMIEdit: Class THMIEdit
From Pascal SCADA OPM
Class THMIEdit
Unit
Declaration
type THMIEdit = class(TEdit, IHMIInterface)
Description
THMIEdit
Hierarchy
- TEdit
- THMIEdit
Overview
Methods
procedure SetHMITag(t:TPLCTag); |
|
function GetHMITag:TPLCTag; |
|
function GetControlSecurityCode:UTF8String; |
|
procedure CanBeAccessed(a:Boolean); |
|
procedure MakeUnsecure; |
Properties
property SendValueWhen: TSendChange read FSend write SetSend stored true default [scLostFocus, scPressEnter]; |
|
property NumberFormat: AnsiString read FNumberFormat write SetFormat; |
|
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
property Text: TCaption read GetText stored false; |
|
property Color: TColor read GetColor Write SetColor; |
|
property ShowFocused: Boolean read FShowFocused write SetShowFocused default true; |
|
property Prefix: TCaption read FPrefix write SetPrefix; |
|
property Sufix: TCaption read FSufix write SetSufix; |
|
property FreezeValueOnFocus: Boolean read FFreezeValue write FFreezeValue default true; |
|
property EnableMinValue: Boolean read FEnableMin write FEnableMin stored true; |
|
property EnableMaxValue: Boolean read FEnableMax write FEnableMax stored true; |
|
property MinValue: Double read FMinLimit write SetMinLimit; |
|
property MaxValue: Double read FMaxLimit write SetMaxLimit; |
|
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
|
property ScreenKeyboardBehavior: TOnScreenKeyboardBehavior read FOnScreenKeyboardBehavior write FOnScreenKeyboardBehavior default oskbDisabled; |
|
property ScreenNumericKBShowMinus: Boolean read FNumericKBShowMinus write FNumericKBShowMinus default false; |
|
property ScreenNumericKBShowDecimal: Boolean read FNumericKBShowDecimal write FNumericKBShowDecimal default false; |
|
property BeforeSendAValueToTag: TBeforeSendStringValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag; |
|
property AfterSendValueToTag: TAfterSendStringValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag; |
Description
Methods
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 | |
Properties
property SendValueWhen: TSendChange read FSend write SetSend stored true default [scLostFocus, scPressEnter]; |
|
|
: See also | |
property PLCTag: TPLCTag read GetHMITag write SetHMITag; |
|
|
: Tag that will be linked with Edit control. See also
| |
property Text: TCaption read GetText stored false; |
|
|
: | |
property Color: TColor read GetColor Write SetColor; |
|
|
: | |
property Prefix: TCaption read FPrefix write SetPrefix; |
|
|
: | |
property EnableMinValue: Boolean read FEnableMin write FEnableMin stored true; |
|
|
: Enables/disables the minimum limit. | |
property EnableMaxValue: Boolean read FEnableMax write FEnableMax stored true; |
|
|
: Enables/disables the maximum limit. | |
property MinValue: Double read FMinLimit write SetMinLimit; |
|
|
: Minimum value acceptable if the minimum limit is enabled. | |
property MaxValue: Double read FMaxLimit write SetMaxLimit; |
|
|
: Maximum value acceptable if the maximum limit is enabled. | |
property SecurityCode: UTF8String read FSecurityCode write SetSecurityCode; |
|
|
: Security code that allows access to control. | |
property ScreenKeyboardBehavior: TOnScreenKeyboardBehavior read FOnScreenKeyboardBehavior write FOnScreenKeyboardBehavior default oskbDisabled; |
|
|
: On screen keyboard control behavior. The keyboard type will be made automacally based on tag type, limits and on NumberFormat property. | |
property ScreenNumericKBShowMinus: Boolean read FNumericKBShowMinus write FNumericKBShowMinus default false; |
|
property ScreenNumericKBShowDecimal: Boolean read FNumericKBShowDecimal write FNumericKBShowDecimal default false; |
|
property BeforeSendAValueToTag: TBeforeSendStringValueToTagEvent read FBeforeSendValueToTag write FBeforeSendValueToTag; |
|
|
: Event triggered before HMIEdit send a value to linked tag. | |
property AfterSendValueToTag: TAfterSendStringValueToTagEvent read FAfterSendValueToTag write FAfterSendValueToTag; |
|
|
: Event triggered when the HMIEdit sent a value to linked tag. | |
Generated by PasDoc 0.14.0.