Name: EditBox01

Type: Function block

Language type:

Input:

Name Type Description
wHnd UINT Object handle
x1 UINT X-coordinate of the upper-left corner
y1 UINT Y-coordinate of the upper-left corner
x2 UINT X-coordinate of the lower-right corner
y2 UINT Y-coordinate of the lower-right corner
pFont UDINT Address of the font
style USINT Appearence
foreCol UDINT Foreground color
bckCol UDINT Background color
foreSelCol UDINT Foreground selection color
bckSelCol UDINT Background selection color
bordPts USINT Border thickness
bordCol UDINT Border color
rw BOOL Flag of write-mode enabled
refr BOOL Flag of refresh required
pVar UDINT Address of the associated variable
type USINT Data type of the associated variable
pVarMin UDINT Address of the lower limit variable
pVarMax UDINT Address of the higher limit variable
enumId INT Identifier of the associated enumerated data type
format UDINT Format code
pVisVar UDINT Address of the visibility variable
pCanSel UDINT Address of the selectability variable
order USINT Selection order
accMode USINT Access mode

Output:

Name Type Description
outKey SINT Key pressed to exit the edit mode