Label Input Feature
Description
The label feature displays text as a label.
Properties
Feature Name: This is the name of the label feature, it can be changed from the default value.
x: This is the horizontal centre point of the label feature on the view.
y: This is the vertical centre point of the label feature on the view.
width: This is the width of the label feature.
height: This is the height of the label feature.
Orientation: This is the angle of the label feature specified in degrees.
Transparency: This a value that specified the transparency of the label feature. 0 is completely invisible and 1 is not transparent at all.
Text: The Displayed text. Using this property we can set a predefined text to the label field.
Font: Using this property we can select the available fonts to the label field. This list shows the available fonts from the local PC.
Size: Using this property we can set the font size of the label field.
Font Color: This property sets the color of the font.
Bold: Text will be bold when this property is set to true.
Italic: Text will be italicized when this property is set to true.
Align: This aligns the text inside the label field. We can align it to Left, Right, and Centre.
Show Background: If this is set, it enables the background of the label field.
Background Color: Using this property we can select the background color for the label field.
Background Outline Color: Using this property we can select the separated color for the outline of the label field.
Outline Thickness: Using this property we can set the thickness of the label field outline.
Background Radius: Using this property we can make the edges of the label field into curvy.
Multiline: If this property is set, it enables the multiline inputs.
Events
Triggers
Key Pressed
Key Pressed: This trigger listens to the event of a key being pressed. It listens for the key that is specified in the parameter key.
Parameter
Key: Character that it’s listening for
Timer
Timer: This starts a timer and executes the actions when the time is up. You can have it run multiple times by specifying the number of runs, 0 is to keep running indefinitely.
Parameter
Duration: duration of time before executing actions
Number Of Runs: Specifies the number of runs, 0 is to keep running indefinitely
Touch
Tap: This trigger executes its actions when the user taps on the label feature.
Double Tap: This trigger executes its actions when the user double taps on the label feature.
Long Press: This trigger executes its actions when the user long presses the label feature.
Pressed: This trigger executes its actions when the user has pressed down on the label feature.
Released: This trigger executes its actions when the user has pressed down and released the label feature.
Gesture
Swipe: This trigger executes its actions when the user swipes on the label feature in the direction specified.
Parameter
Swipe Type: Here you can specify the direction of swipe to listen for
Global Variable: The distance of the swipe will be stored to this variable if one is specified
Drag and Drop
Is Dropped On: This trigger executes its actions when the label feature is dragged and dropped on to another feature.
Parameter
Target: This specifies the other feature that the label feature has to be dropped on
Is Dragged Over: This trigger executes its actions when this feature is dragged over another feature.
Parameter
Target: This specifies the other feature that this feature has to be dragged over
Actions
Print: This action calls the print function of the operating system (OS) of the device, it will print this feature the way it looks when the action is executed. For this to work the printer setting must be set up properly on the OS.
Parameter
Show settings popup: The printer setting popup of the OS can be shown before printing if selected
X:This action changes the x property of the label feature to the value specified.
Parameter
x:This is the target value
Y:This action changes the y property of the label feature to the value specified.
Parameter
y:This is the target value
Width: This action changes the width property of the label feature to the value specified.
Parameter
Width: This is the target value
Height: This action changes the height property of the label feature to the value specified.
Parameter
Height: This is the target value
Rotate To: This action changes the orientation property of this feature to the value specified
Parameter
Rotation: This is the target value
X Offset: This action changes the x property of the label feature by adding the value specified.
Parameter
x:This is the value to be added to the current value
Y Offset: This action changes the y property of the label feature by adding the value specified.
Parameter
y:This is the value to be added to the current value
Width Offset: This action changes the width property of the label feature by adding the value specified.
Parameter
Width: This is the value to be added to the current value
Height Offset: This action changes the height property of the label feature by adding the value specified.
Parameter
Height: This is the value to be added to the current value
Rotate By: This action changes the orientation property of the label feature by adding the value specified
Parameter
Rotation Offset: This is the value to be added to the current value
Resize By Factor: This action changes the height and width of the label feature by multiplying it by the specified factor
Parameter
Factor: This is the value which the height and width will be multiplied by
Move To Front: This action moves the label feature to the front of all the features that are in the view. If the label feature is inside a group feature it will be moved in front of all the other features inside that group only.
Move To Back: This action moves the label feature to the back of all the features that are in the view. If this feature is inside a group feature it will be moved to the back of all the other features inside that group only.
Change Transparency: This action changes the transparency of the feature by to the value specified.
Parameter
Alpha: Value to change the transparency to, must be between 0 and 1
Delete Feature: This action deletes the feature from the screen.
List
Change Text: This action changes the text of the label field.
Parameter
Text: This is the target value