FRAME

Syntax

ctl[n]: FRAME(Class Specific Properties), Other Properties

Description

This user control class draws a frame in the dialog window. By default, this user control is not actionable.

Class Specific Properties

BLACK
Defines the border's color as black. (default)
ETCHED
Gives the border a 3D-look.
ETCHEDHORZ
Makes a single horizontal line with a 3D appearance.
ETCHEDVERT
Makes a single vertical line with a 3D appearance.
GRAY
Defines the border's color as gray.
NOTIFY
Makes the user control actionable and activates tooltip.
WHITE
Defines the border's color as white.

Other Properties

Val
Assigns a value to the frame, but only when it is disabled. (default = 0)

Example

ctl[0]: FRAME
ctl[1]: FRAME(ETCHED), Val=45, Disabled
ctl[2]: FRAME(GRAY), Pos=(320,60), Size=(160,60)

Notes

Once the frame user control is actionable, its value definitions are lost. The reason is that an action returns a specific value and overwrites (once the mouse button is clicked over the user control) the user control's value.