Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Columns in a DCL list_box...

0 views
Skip to first unread message

Rudy Tovar

unread,
Mar 6, 2003, 5:40:19 PM3/6/03
to
If you mean tabbed like AutoCADs layout tabs, you'll have to use ObjectDCL
by www.objectdcl.com

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


Cliff Middleton

unread,
Mar 7, 2003, 7:07:45 AM3/7/03
to
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

R. Robert Bell

unread,
Mar 7, 2003, 11:06:45 AM3/7/03
to
I cannot claim credit on this... DCL <shudder>.

;-)

"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 {}
| }
|


0 new messages