Control (PRIM_CTRL)
Base class for all visual controls
Ancestors - Object (PRIM_OBJT)
Details
A Control is the base class for nearly all visible component features such as Panel, label, button etc.
Properties
Name |
Description |
BusyUpdates specifies how the control updates itself |
|
BusyUpdatesOfParent specifies whether the parent controls updates |
|
CanFocus returns a value indicating whether the control can receive keyboard focus |
|
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
|
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
|
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
|
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
|
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
|
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
|
Cursor sets the cursor image |
|
DisplayPosition determines the order in which components are shown |
|
DragStyle determines how a component can be dragged |
|
Enable activates/deactivates the component |
|
Fix the control position so that it does not move if the parent is scrolled |
|
Focus tells whether the component has focus |
|
Reference to a style to be applied when the control is focus |
|
Collection of styles to be applied when the control is focus |
|
Returns the Windows handle in desktop applications |
|
The height of the control in pixels |
|
Caption displayed when the mouse hovers over the control |
|
HintPopup allows a PopupPanel instance to be used instead of the default hint text box |
|
Enabled or disable the appearance of hints |
|
Delegate hints appearance to the parent control |
|
HintTitle defines the text shown at the top of the hint window in emphasized text |
|
IsAnimating indicates that a control is currently being animated |
|
True if the control is currently realized |
|
Position of the control relative to the left boundary of its parent |
|
Modified indicates that the contents of the component have changed |
|
MouseOver determines whether the mouse is directly over a control |
|
MouseOverStyle defines the style to be applied to a control when the mouse is over it |
|
MouseOverStyles is a collection of styles to be applied to a control when the mouse is over it |
|
Name identifies the component Inherited from Object (PRIM_OBJT) |
|
Opacity denotes the appearance of a control in terms of its interaction with its background |
|
Owner owns this component Inherited from Object (PRIM_OBJT) |
|
Reference to the control in which this control is visually positioned |
|
Popup allows a PopupPanel instance to be used instead of the typical right click popup menu |
|
Reference to a PopupMenu to be shown on a right click |
|
Rotation allows a control to rotate a number of degrees about a given origin |
|
RotationOriginLeft defines the left coordinate of an imaginary point around which a control will rotate |
|
RotationOriginTop defines the top coordinate of an imaginary point around which a control will rotate |
|
ScaleHeight is the percentage of the height to use in the visual appearance of a control |
|
ScaleOriginLeft defines the left coordinate of an imaginary point from which a control will scale |
|
ScaleOriginTop defines the top coordinate of an imaginary point from which a control will scale |
|
ScaleWidth is the percentage of the width to use in the visual appearance of a control |
|
ScreenLeft sets the distance from the left of the screen |
|
ScreenTop sets the distance from the top of the screen |
|
Left position of a horizontally scrolled child control relative to its parent control |
|
Top position of a vertically scrolled child control relative to its parent control |
|
SkewLeft defines the angle at which to skew the control horizontally |
|
SkewOriginLeft defines the left coordinate of an imaginary point from which a control will skew |
|
SkewOriginTop defines the top coordinate of an imaginary point from which a control will skew |
|
SkewTop defines the angle at which to skew the control vertically |
|
Style defines the style to be applied to a control |
|
Collection of styles to be applied to the control |
|
TabPosition sets the order of focus when the Tab key is used |
|
Set to false to stop focus being given to the control via the Tab key |
|
Name of the Theme DrawStyle to be applied to the control |
|
Position of the control relative to the top boundary of its parent |
|
Determines how the control will respond to touch move processing |
|
Determines how the control will respond to touch rotation |
|
Determines how the control will respond to touch scaling |
|
Determines whether a control can be resized |
|
Show or hide the control |
|
VisualStyle sets the appearance |
|
Adopt the Visual style from the parent control |
|
Width of the component in pixels |
Events
Name |
Description |
Fired when an animation is ended Cancelled |
|
CreateInstance is signalled when an instance of a component is created [Inherited from Control (PRIM_CTRL) |
|
DestroyInstance is signalled when an instance of a component is about to be destroyed [Inherited from Control (PRIM_CTRL) |
|
Fired on mouse up to signify the end of a drag process PosX, PosY, Source, Payload, AggregatedSource, Origin, Handled, DragResult |
|
Fired during the drag and drop process when the cursor moves over the control PosX, PosY, Source, Payload, DragState, AcceptDrop, DragCursor, ShowDropHilight, AggregatedSource, Origin, Handled |
|
Fired when the drag and drop process has completed Source, Payload, DragResult, AggregatedSource, Origin, Handled |
|
Fired after a component has been realized for the first time |
|
The mouse has entered the bounds of the control |
|
The mouse has hovered over the control Origin, Handled |
|
The mouse has left the bounds of the control |
|
Fired when the user starts a drag and drop process Source, Payload, Continue, DragList, AggregatedSource, Origin, Handled |
|
Fired repeatedly between the TouchStart and TouchEnd boundaries to provide details of the touch events MoveLeft, MoveTop, ScaleWidth, ScaleHeight, Rotation, Continue |
|
Fired when the user stops touching the screen |
|
Fired when the user first makes physical contact with the screen Origin, TouchMove, TouchRotate, TouchScale, TouchSize |
Methods
Name |
Description |
Animate from invisible to visible Duration, Delay |
|
Animate from visible to invisible Duration, Delay, Visible |
|
Move a control from the specified position to the current position Left, Top, Duration, Delay |
|
Animate a move from the specified number of pixels Left, Top, Duration, Delay |
|
Creates the visual portion of dynamically created controls |
|
Animate a change of scale ScaleWidth, ScaleHeight, Duration, Delay |
|
Sets the control to be the focus control |
|
LANSA Internal Use |
|
Animate a change of size Width, Height, Duration, Delay |
|
Destroys the visual portion of dynamically created controls |
|
UpdateDisplay updates the display immediately |