Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- FiveWin 1.9.2 - January 97 - <b>acolsizes</b> array of nsize for each column. http://www.ousob.com [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 aColSizes       Array of nSize for each column.
--------------------------------------------------------------------------------

 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 being 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!


Online resources provided by: http://www.ousob.com --- NG 2 HTML conversion by Dave Pearson