Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CC.LIB - ClipCode CLIPPER S'87 Library - <b>popchoice() display a shadow-boxed achoice() window & wait for selection</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 POPCHOICE() Display a shadow-boxed ACHOICE() window & wait for selection

 Syntax....: POPCHOICE( aList [,aHead] [,aFoot] [,tr] [,lc] [,"UDF"] )
 Parameters: <array>: aList = the string array of choices
 [optional]  <array>: aHead = the Header string array
  "      "   <array>: aFoot = the Footer string array
  "      "   <expN>:  tr    = top row          (default: centered)
  "      "   <expN>:  lc    = left column      (default: centered)
  "      "   <expC>:  "UDF" = callable User Defined Function

 Returns...: <expN>: the ACHOICE() numeric subscript or 0 if Esc pressed
 Cautions..: none
 CC Calls..: ALONGEST( a_ray )       && length of the longest string in array
             SHADOWBOX()
 Alias.....: none

 Example...: ss= POPCHOICE( aList )
             * - or -
             ss= POPCHOICE( aList,aHead,aFoot,7,10,"ACE2" )


See Also: POPGET POPMSG

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