<< Click to Display Table of Contents >>
Manual > Control Reference > Basics > View control > Events >
Occurs when the close or maximize button is pressed.
syntax
event OnClickTitleBar(
state,
msg
)
Parameters
state
Type:
character
situation.
DBLCLICK - Double click
CLICK - Click DOWN - Mouse down
UP - Mouse Up
CLOSE - When the close button is pressed
MAX - When the maximize button is pressed
NORMAL - when you press the undo button
MOVE - When you click the bar to move the view (valid when the AllowMove property is TRUE and the view is not maximized)
BAR - When you click on the bar while the view is fixed
Explanation
Used when the close or maximize button is displayed in the title bar.
reference
OnClickTitleBar
OnBeforeOpenForm
OnAfterOpenForm