Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- GT_LIB v1.0 Reference Guide Release 1.0 - <b>list an array and allow selection.</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 List an array and allow selection.
------------------------------------------------------------------------------

 Syntax

        GT_Choose(<aOptions>,[<cTitle>],[<nTop>], ;
            [<nLeft>],[<nBottom>],[<nRight>],[<aValid>], ;
            [<nStartItem>],[<nStartRow>])

 Arguments:

      <aOptions> is the array to list.

      <cTitle> is an optional title.

      <nTop>,<nLeft>,<nBottom>,<nRight> Window Co-ords.

      <aValid> an array of logical values matching the
      options list.

      <nStartItem> is the entry point for the array.

      <nStartRow> is the row of the window to start on.

 Returns:

      nSelected

 Description:

      Basically this is a tarted up ACHOICE(). Allowing
      a box around it, title and proper key handling.

 Examples:

      nOption := 1
      nOption := Gt_Choose({'1. Start','2. End  ','3.Exit '}, ;
          'Now what?',02,02,NIL,NIL,NIL,nOption)

 Source: GT_CHOOS.PRG

 Author:  Martin Bryant

See Also: GT_BROWSE()

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