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]

 twPopMenu( amArray, cHeader, aMsg, wT, wL, nChoice,;
            wColor, wSType, wFType, wFColor,;
            wTColor, nRowSkip )
 ----------------------------------------------------------------------------
     Display a popup menu using twMenuTo().

     NOTE: If using action code blocks in a previous menu, this
     function will not behave as expected. The usual rules for MENU TO
     are in effect.

       Arguments:

     amArray  - 'A' An array of choices.

     cHeader  - 'C' Optional Title for the Choice window.

     wT, wL   - 'N' Relative window coordinates. Default to center the
                    window on the screen.

     nChoice  - 'N' Initial choice number to highlight.


     wColor   - 'C' Clipper colour string. Defaults to current window
                    colour.

     wSType   - 'N' TSDWIN shadow type. Defaults to the current shadow
                    type.

     wFType   - 'N' TSDWIN frame type. Defaults to the current frame
                   type.

     wFColor  - 'C or A' TSDWIN Frame colour array or string.

     wTColor  - 'C' Title colour.

     nRowSkip - 'N' Row spacing for display

       Return:

     The element number of the array choice or zero if the escape key
     was pressed.

       Example:

     LOCAL amArray := {"Yes","No","Maybe"}, nMenuChoice
     nMenuChoice := twPopMenu( amArray, "Testing" )

     twInfo("You Chose: " + STRINT( nMenuChoice ) )

See Also: twPopChoice() twMenuTo()

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