Animation control
Animation controls can display Audio-Video Interleaved (AVI) clips
that come from an uncompressed AVI file or from an AVI file compressed
using run-length encoding (BI_RLE8).
Properties
Animation property |
Datatype |
Description |
---|---|---|
String |
A description of the control and/or its purpose for |
|
String |
A label that briefly describes the control, such as |
|
AccessibleRole (enumerated) |
Describes what kind of user interface element the |
|
String |
Specifies the name of the file that contains the |
|
Boolean |
Specifies whether the animation starts as soon as TRUE — Control FALSE — Control |
|
Boolean |
Specifies whether the control has a border. Values TRUE — Control has a border. FALSE |
|
BorderStyle (enumerated) |
Specifies the style of the border of the control. StyleBox! StyleLowered! StyleRaised! StyleShadowBox! |
|
Boolean |
Specifies whether PowerBuilder moves the control to TRUE — Control moved to top. FALSE |
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
Boolean |
Specifies whether PowerBuilder puts the control TRUE — FALSE — When the control is clicked, the |
|
String |
Specifies the name of the stock icon or the file When the user drags the |
|
Boolean |
Specifies whether the control is enabled (can be TRUE — Control can be FALSE — Control cannot be |
|
Integer |
Specifies the height of the control, in |
|
Boolean |
Specifies whether the width and height properties TRUE — Width and height set to original FALSE — Existing width and height not In the Window painter, setting OriginalSize |
|
String |
Specifies the name of the stock pointer or the file |
|
Long |
Specifies a PowerTip for the |
|
Integer |
Specifies the tab value of the animation within the |
|
String |
Specifies the tag value assigned to the |
|
Boolean |
Specifies whether the background of the control TRUE — Control is FALSE — Control is not |
|
Boolean |
Specifies whether the control is visible. Values TRUE — Control is visible. FALSE |
|
Integer |
Specifies the width of the control, in PowerBuilder |
|
Integer |
Specifies the X position (distance from the left |
|
Integer |
Specifies the Y position (distance from the top of |
Events
Animation event |
Occurs |
---|---|
When the control is clicked |
|
Immediately before the Open event occurs in the |
|
Immediately after the Close event occurs in the |
|
When the control is double-clicked (selected and |
|
When a dragged control is dropped on the |
|
When a dragged control enters the |
|
When a dragged control leaves the |
|
When a dragged control is within the |
|
Just before the control receives focus (before it |
|
When the user presses the F1 key or drags the |
|
When the control loses focus (becomes |
|
When a Windows message occurs that is not a |
|
When the right mouse button is pressed on the |
|
When an animation has started |
|
When an animation has stopped |
Functions
Animation function |
Datatype returned |
Description |
---|---|---|
String |
Returns the name assigned to the |
|
Integer |
Starts or ends the dragging of the |
|
Integer |
Creates a reference to a context-specific instance |
|
PowerObject |
Returns a reference to the name of the parent |
|
Integer |
Makes the control invisible |
|
Integer |
Moves the control to a specified |
|
Integer |
Starts playing the AVI clip in the |
|
Integer |
Returns the distance of the pointer from the left |
|
Integer |
Returns the distance of the pointer from the top of |
|
Boolean |
Adds an event to the end of the message queue for |
|
Integer |
Changes the size of the control |
|
Integer |
Displays a specified frame in an AVI |
|
Integer |
Sets focus to the control |
|
Integer |
Specifies the position of the control in the |
|
Integer |
Controls automatic redrawing of the control after |
|
Integer |
Makes the control visible |
|
Integer |
Stops playing the AVI clip in the |
|
Integer |
Triggers a specified event in the control and |
|
Object |
Returns the type of the control |