Visual LISP, AutoLISP and General Customization
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Listbox with Explorer capabilities, well some of them.

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
106 Views, 2 Replies

Listbox with Explorer capabilities, well some of them.

All,

I was wondering what it might take to build a cascading list into a listbox. This may already exist, but I haven't seen
it in AutoLISP/DCL.

I would like to group selections by hierarchy, their position in the list. I was thinking that simple indenting might
work, with examination of the white space (or other char) in the prefix of the list name. This would let me access
storage level of each item in the list.

Something like this

Group1
Major1
Minor1
Minor2
Minor3
Major2
Minor1
Minor2
Minor3
Major3
Minor1
Minor2
Minor3
Group2
Major1
Minor1
Minor2
Minor3
Major2
Minor1
Minor2
Minor3
Major3
Minor1
Minor2
Minor3

Where each item picked would also select all subentities as well.

Anyone got something like this, or ideas about the foolhardiness of trying this with strictly AutoLISP and DCL :c)

Thanks
2 REPLIES 2
Message 2 of 3
cwanless
in reply to: Anonymous

Hi this can be done using ObjectDCL. It is called a tree control and it is the exact control that is used by the explorer. You can find it at www.objectdcl.com Thanks Chad Wanless
Message 3 of 3
Anonymous
in reply to: Anonymous

I think I had problems using tabs in a listbox. They're not recognized or
too long or something. Besides the text style in list boxes is formatted so
the indentations wouldn't look good.

Risto


--

Risto Makela
autor@cadapter.com
Cadapter Software
http://www.cadapter.com




Bob Basques schrieb in im Newsbeitrag:
3D936EDE.90005@ci.stpaul.mn.us...
> All,
>
> I was wondering what it might take to build a cascading list into a
listbox. This may already exist, but I haven't seen
> it in AutoLISP/DCL.
>
> I would like to group selections by hierarchy, their position in the list.
I was thinking that simple indenting might
> work, with examination of the white space (or other char) in the prefix of
the list name. This would let me access
> storage level of each item in the list.
>
> Something like this
>
> Group1
> Major1
> Minor1
> Minor2
> Minor3
> Major2
> Minor1
> Minor2
> Minor3
> Major3
> Minor1
> Minor2
> Minor3
> Group2
> Major1
> Minor1
> Minor2
> Minor3
> Major2
> Minor1
> Minor2
> Minor3
> Major3
> Minor1
> Minor2
> Minor3
>
> Where each item picked would also select all subentities as well.
>
> Anyone got something like this, or ideas about the foolhardiness of trying
this with strictly AutoLISP and DCL :c)
>
> Thanks
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost