OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: cadplayer on August 15, 2012, 05:45:32 AM

Title: Template in Palettes
Post by: cadplayer on August 15, 2012, 05:45:32 AM
Hi!

Can I have one or more template in one palettes. You know from Properties window in Autocad it haves more template (see describtion)

Regards Dirk
Title: Re: Template in Palettes
Post by: BazzaCAD on August 15, 2012, 08:46:47 AM
Do you mean tabs?
No it's currently no possable.
Title: Re: Template in Palettes
Post by: cadplayer on August 15, 2012, 11:40:16 PM
Hi!

Thanks for answer, yes I mean tabs, but maybe there is another way to can collect lisp-command in refreshed openDCL menues. I have ca. 200 functions and no control which I use or need. So I´m thinking to do command-catalogs. Have somebody a idea.
My first concept is so here... problem is I can´t open all tabs ?!

Regards Dirk
Title: Re: Template in Palettes
Post by: Fred Tomke on August 16, 2012, 06:17:27 AM
Hi, the object properties tab is a palette of a paletteset. OpenDCL supports a single palette, not a palette set. If you want to use several tab you can use the tabs control. If not all tabs are listed in the z/tab-pane, I made the experience that saving/close/open the project file will solve the problem.

Regards, Fred
Title: Re: Template in Palettes
Post by: owenwengerd on August 16, 2012, 06:38:01 AM
Quote from: cadplayer on August 15, 2012, 11:40:16 PMMy first concept is so here... problem is I can´t open all tabs ?!

If possible, please attach or email the .odcl file and instructions to reproduce the problem so I can investigate.
Title: Re: Template in Palettes
Post by: cadplayer on August 16, 2012, 11:24:29 PM
Hi again!

Yes I sent wrong file you can nothing do only with lsp-file.
I have create a odcl and for example paste a button on "Action tab" to run a command. If I try start diroTool.lsp I can only run command if  I close odcl-window. Is it possible to run aa-command and switch automatically in the drawing.

regards Dirk
Title: Re: Template in Palettes
Post by: owenwengerd on August 17, 2012, 12:06:04 AM
I am able to open all 5 tabs in your .odcl file. Unfortunately I cannot fix the problem unless I can reproduce it.

Take a look at the Selections sample to see how to dismiss a modal dialog so you can interact with the AutoCAD editor. However if your dialog should stay open, it probably should be modeless instead of modal.
Title: Re: Template in Palettes
Post by: cadplayer on August 17, 2012, 03:46:06 AM
Maybe you understand it better. Take a look on animation. I wondering why must I close diroTool-form to can run aa-command ? :-\
Title: Re: Template in Palettes
Post by: Fred Tomke on August 17, 2012, 04:08:34 AM
Hi, in palettes, modeless and dockable forms you can run commands in the drawing without closing the form. Modal forms instead stop AutoCAD as long as the modal form will be closed.

Have a look at the beginners tutorial. There is a small tool which demonstrates exactly this behaviour.

Regards, Fred
Title: Re: Template in Palettes
Post by: cadplayer on August 17, 2012, 04:39:24 AM
Thanks Fred, yes I have to see all samples in tutorial - nice done it

cheers Dirk