Language Reference Guide : System Classes : TreeviewField Class : RightClickBehavior Attribute
 
Share this page          
RightClickBehavior Attribute
Data Type: integer
4GL Access: RW
The RightClickBehavior attribute indicates what the behavior will be when the user right-clicks the mouse on a node (or a non-node area of the treeview).
Valid values are:
RB_NOSELECT
Specifies that the Property Option Menu of the clicked node will drop down (none will drop down if no node is clicked on). The same node will remain selected. This is the default for TVF_CLASSIC style TreeviewFields.
RB_SELECT
Specifies that the Property Option Menu of the clicked node will drop down (none will drop down if no node is clicked on). The newly clicked-on node will become selected. This is the default for TVF_EXTENDED (or TVF_CURRENT) style TreeviewFields.
RB_SELECT_ON_DROPDOWN
Specifies that the Property Option Menu of the clicked node will drop down (none will drop down if no node is clicked on). The newly clicked-on node will become temporarily selected while the menu is dropped down. Selection will revert to the previously selected node when the menu closes up.