OnClickTitleBar

<< Click to Display Table of Contents >>

Manual > Control Reference > Basics > View control > Events >

OnClickTitleBar


 

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

 

msg


Type:

character


situation.

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

 


hmtoggle_plus1Explanation

 


reference