If you mean adding tabs then do the following:
: list_box {
key = "filter_str_list";
width = 67;
height = 6;
tabs = "20 22 25 35 37 40 50 52 55";
tab_truncate = true;
}
--
Ru...@Cadentity.com
www.Cadentity.com
"THINK M.A.S."
"Building A Smarter Tomorrow"
"DWP" <pow...@kecoindustries.com> wrote in message
news:f14b9...@WebX.maYIadrTaRb...
> Hi all,
> Anyone have an example as to how to format a list
> for use in a tabbed (columns) list box ?
> I have looked at the old filter.dcl & filter.lsp
> files for an example but can't get it to work.
> TIA
>
> DWP
>
>
Tabbed columns will misbehave depending on the font being used. I have
found it easier to set the "fixed_width_font=true;" attribute for the list
box and then format the columns of text (padding spaces) according to the
longest string in each column.
--
Cliff
;-)
"BillZ" <bzo...@lundboats.com> wrote in message
news:f14b...@WebX.maYIadrTaRb...
| DWP,
| I can't remember who I got this from at this forum.
| Maybe RRobert Bell.
| I'll attach the lisp and paste the dcl.
| // Dialoge Box for TEST-TAB.lsp
| //
| //
| dcl_settings : default_dcl_settings
| { audit_level = 3 ;}
| test_tab : dialog {
| label = "CURRENT LIST OF WHATEVER" ;
| :list_box {
| label = "" ;
| key = "bnm" ;
| width = 42 ;
| height = 16 ;
| multiple_select = false ;
| tabs = "12" ;
| }
| :spacer_1 {}
| ok_only ;
| :spacer_1 {}
| }
|