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

   For inserting columns in a List-box, it is possible to proceed in two
   different ways:

     . The Alt-3 keys allows to insert a new column. This
       column is defined by an expression whose value is displayed on all the
       rows of the List-box. The Alt-1 can be used for building the
       expression. If the data origin is a file, a field of the file can be
       inserted. If the origin of the data is a (two-dimensional) array, a
       column of the array can be inserted by entering the array name and
       postponing the [?] suffix.

   The list-box is used for displaying the information on the currently
   selected directory.

   For this purpose, an array called aDir is created and evaluated with
   Clipper's DIRECTORY() function. This last function returns a
   bi-dimensional array with all the filenames and relative directory info.

   The first column of the List-box, with the file names, will have the
   following expression:

     aDir[?][1]

   The second column, with the length, the expression:

     aDir[?][2]

   The third column, with the dates, the expression:

     aDir[?][3]

   and so on.

   It is important to note that any expression can be entered in this
   context, even a constant value.

     . The Alt-1 key, if the data origin is a file, allows to
       select, from a list, the fields of the origin file and the lookup
       files (files in an N:1 relation). A new column will be created for
       each of the selected fields.

   When the cursor is located inside the List-box, pressing the Space Bar
   will open the definition frame for the selected column. The type of
   definition frame that appears depends on the type of column being
   highlighted. For instance, if the column displays a field, then the
   definition frame of a GET control is activated. The Ctrl-Enter key
   allows to access the properties environment of the selected column.

   Pressing Alt-F1 will display all the available column types (field,
   expression, selection column) allowing to add a new column to the
   List-box, choosing the type.

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