PickModule

Description:              This function returns a module selected from a module tree diagram by the mouse.

Returns:                    Module

Usage:                       Steady State

Format:                      PickModule(ModuleTree, Button)

Parameters:             ModuleTree    { ModuleTree }  { required }  { no default: }

                                      Any expression for the module tree.

                                    Button    { numeric }  { required }  { no default: }

                                      Any numeric expression giving the button combination that activates this graphic.

Button

Locator Buttons

0

No buttons

1

Right button

2

Middle button

3

Right and middle buttons

4

Left button

5

Left and right buttons

6

Left and middle buttons

7

All three buttons

 

                             If the value is:

                             - multiplied by 8 the meaning for multiple buttons pressed becomes "OR" rather than "AND." For ex ample, to accept any button on a 2 or 3 button mouse, use 56 (8 * 7); to accept the left mouse button regardless of whether or not the right button is pressed, use 32 (8 * 4).

                             - increased by 64, the function will become true when the mouse buttons are released rather than when they are pressed.

                             - increased by 128, the button(s) must be double-clicked.

Comments:              

See Also:

PickState