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]

 twBRMouseLine( aArray, nSpace, nButton, nRow )
 ----------------------------------------------------------------------------
     Create a twInfoline() display with a passed array of strings for
     the prompts and assign mouse hot spots for twBRBrowse() to the hot
     spots. This function calls twBRHotSpot(), therefore the memory
     used by the handles MUST be released with either twBRLinePop() or
     twBRRemHotSpot(). 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 := twBRMouseLine( { ;
                           { ".F1..Help", {|| Help() }},;
                           { ".F2..Add New Record", {|| AddNew() }},;
                           { ".ESC..Exit", {|| _twKBoard( K_ESC )}} )

     twBRBrowse( .....

     twBRLinePop( aHandle )

See Also: twBRLinePop() twBRHotSpot() twBRBrowse()

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