Older Newer
Wed, 22 Mar 2006 11:27:33 . . . . 203-166-244-79.dyn.iinet.net.au [Note about tooltips]


Changes by last author:

Added:
= PUSHBUTTON =

== Syntax ==

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

== Description ==

:Pushbuttons are usually involved in some dialog action. They can be used not just for general actions such as applying or cancelling a filter, but also for start/stop buttons when you animate the preview window. A pushbutton control will return the value 1 when it has been pressed, and 0 when it hasn't.

== Class Specific Properties ==

:BOTTOM

::Aligns the text label with the bottom of the pushbutton.

:CENTER

::Centers the text label within the pushbutton's text area.

:FLAT

::Flattens the pushbutton.

:LEFT

::Left-aligns the text label within the pushbutton's text area.

:MULTILINE

::Allows word-wrapping within the pushbutton's text area.

:RIGHT

::Right-aligns the text label within the pushbutton's text area.

:TOP

::Aligns the text label with the top of the pushbutton.

:VCENTER

::Vertically centers the text label within the pushbutton's text area.

== Other Properties ==

:Text

::Defines the text label on the button. (default = no text)

== Example ==

<code>

ctl[2]: PUSHBUTTON (MULTILINE), "Press this button if you want to apply the filter", Size=(70,50), Action=APPLY

</code>

== Also see ==

:ctl

== Comments ==

:Tooltips may not always work with the PUSHBUTTON control, due to a bug in some FilterMeister versions. They work on Windows 98SE, but not on Windows 2000 or Windows XP.