[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 aColSizes       Array of nSize for each column.
--------------------------------------------------------------------------------

 It is an array of numeric values used to calculate the width of each
 browse displayed column.

 By default, FiveWin uses the width of the letter "B" plus the len of
 the expression beeing displayed.

 There is a good trick when building browses to automatically calculate
 the proper width of the browse columns:

 * Make your browse without considering the COLSIZES ... values.

 * specify the following ON DBLCLICK clause:

       REDEFINE LISTBOX oBrw FIELDS ... ;
          ON DBLCLICK AEval( oBrw:aColSizes, { | nSize | MsgInfo( nSize ) } )

 * Execute your browse and resize with the mouse the columns widths to
   the desired well-looking values.

 * Double Click on the browse to see the currently selected :aColSizes
   values.

 * Review again your source code and place there the values you obtained!
   in the COLSIZES ... clause!  This is the easiest way!


This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson