Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- TSDWIN: Clipper 5.0 Interface Library - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

 twMEMouseLine( aArray, nSpace, nButton, nRow )
 ----------------------------------------------------------------------------
     Create a twInfoline() display with a passed array of strings for
     the prompts and assign mouse hot spots for twMemoEdit() to the hot
     spots. This function calls twMEHotSpot(), therefore the memory
     used by the handles MUST be released with either twMELinePop() or
     twMERemHotSpot(). All hot spots set up with this function are
     active when created.

       Arguments:

     aArray  - 'A' Array consisting of two element arrays of the form:

                        { cPrompt, bBlock }

                   cPrompt can have in it embedded secondary colour
                   delimiters, '..'. The code block will be assigned to
                   the hot spot created by the prompt for the mouse
                   button specified.

     nSpace  - 'N' Number of spaces to leave between prompts. Defaults
                   to 2.

     nButton - 'N' Mouse button to which to assign the code block
                   action. Defaults to 1, the left hand button.

     nRow    - 'N' Screen line on which to display the twInfoLine().
                   the default is line 24.

       Return:

     Array of handles for the hot spots.

       Example:

     aHandle := twMEMouseLine( { ;
                           { ".F1..Help", {|| Help() }},;
                           { ".F2..Add New Record", {|| AddNew() }},;
                           { ".ESC..Exit", {|| _twKBoard( K_ESC )}} )

     twMemoEdit( .....

     twMELinePop( aHandle )

See Also: twMELinePop() twMEHotSpot() twMemoEdit()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson