Older Newer
Mon, 31 Mar 2003 11:57:03 . . . . SyneRyder


Changes by last author:

Added:
= RECT =

== Syntax ==

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

== Description ==

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

== Class Specific Properties ==

:BLACK

::Defines the rectangle's background color as black. (default)

:GRAY

::Defines the rectangle's background color as gray.

:NOTIFY

::Makes the user control actionable and activates tooltip.

:WHITE

::Defines the rectangle's background color as white.

== Other Properties ==

:Val

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

== Example ==

<code>

ctl[0]: RECT(NOTIFY), Action=ABOUT

ctl[1]: RECT(GRAY), Val=231, Disabled

</code>

== Notes ==

:Once the rectangle 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.

== Comments ==

:Everyone can add his comments about his experiences with this function here. Tips for using it are welcome, too.