Rectangle control
A rectangle is a filled or outlined rectangular form
within a window and is typically used for design purposes. For example,
you can put a CommandButton or a picture in a rectangle, or you
can use a rectangle behind and slightly offset from another control
to create a shadow effect. When you use a rectangle to group controls,
the grouping does not affect the behavior of the controls in the
rectangle.
Properties
|
Rectangle property |
Datatype |
Description |
|---|---|---|
|
ClassDefinition |
PowerObject |
An object of type PowerObject containing |
|
Long |
Specifies the numeric value of the color |
|
|
FillPattern (enumerated) |
Specifies the hatch pattern used to fill
FDiagonal! is lines going from the lower-left to the upper-right. BDiagonal! |
|
|
Integer |
Specifies the height of the control, |
|
|
Long |
Specifies the numeric value of the line |
|
|
LineStyle (enumerated) |
Specifies the pattern of the line used
|
|
|
LineThickness |
Integer |
Specifies the thickness of the line used |
|
String |
Specifies the tag value assigned to the |
|
|
Boolean |
Specifies whether the control is visible.
|
|
|
Integer |
Specifies the width of the control, in |
|
|
Integer |
Specifies the X position (the distance |
|
|
Integer |
Specifies the Y position (the distance |
Events
|
Rectangle event |
Occurs |
|---|---|
|
Immediately before the Open event occurs |
|
|
Immediately after the Close event occurs |
Functions
|
Rectangle function |
Datatype returned |
Description |
|---|---|---|
|
String |
Returns the name assigned to the control |
|
|
Integer |
Creates a reference to a context-specific |
|
|
PowerObject |
Returns a reference to the name of the |
|
|
Integer |
Makes the control invisible |
|
|
Integer |
Moves the control to a specified location |
|
|
Boolean |
Adds an event to the end of the message |
|
|
Integer |
Changes the size of the control |
|
|
Integer |
Makes the control visible |
|
|
Integer |
Triggers a specified event in the control |
|
|
Object |
Returns the type of the control |