TheSwamp

Code Red => Visual DCL Programming => AutoLISP (Vanilla / Visual) => OpenDCL => Topic started by: jbuzbee on July 05, 2007, 02:07:28 PM

Title: Rollup a modeless OpenDCL form
Post by: jbuzbee on July 05, 2007, 02:07:28 PM
From a discussion at sourceforge.net.

Attached is a zip containing a simple form which can be "rolled-up".  Use the button with the arrow to roll it up.  The "x" closes the form - no title bar.
Title: Re: Rollup a modeless OpenDCL form
Post by: scottcd on July 05, 2007, 02:18:16 PM
Very Slick....
Title: Re: Rollup a modeless OpenDCL form
Post by: It's Alive! on July 05, 2007, 02:41:38 PM
From a discussion at sourceforge.net.

Attached is a zip containing a simple form which can be "rolled-up".  Use the button with the arrow to roll it up.  The "x" closes the form - no title bar.

Thanks James,
That is so cool, I think that will work for me  8-)
Title: Re: Rollup a modeless OpenDCL form
Post by: Guest on July 05, 2007, 02:44:16 PM
The only thing I would suggest is having the dialog box maintain it's width when in a "rolled up" state.
Title: Re: Rollup a modeless OpenDCL form
Post by: jbuzbee on July 05, 2007, 08:39:24 PM
Matt: yes.

Get the width from the getRectangle function and pass it to the re-size function.  Don't have anymore time now to play: I'm designing a $9 million urban hotel project right now . . .
Title: Re: Rollup a modeless OpenDCL form
Post by: Guest on July 05, 2007, 08:45:39 PM
Matt: yes.

Get the width from the getRectangle function and pass it to the re-size function.  Don't have anymore time now to play: I'm designing a $9 million urban hotel project right now . . .

Well la-dee-da.... Well, I'm, uh.... I'm just updating... my.... Zune library.  :-(

Pretty cool stuff, this ODCL.  I'm really starting to get the hang of it.  It's actually not as bad as I once thought it was.
Title: Re: Rollup a modeless OpenDCL form
Post by: Kerry on July 05, 2007, 08:50:09 PM
Matt,
When you finish with your ZuneLibrary you could try saving both the height and width (to restore both) .. letting you handle resizable forms.

Title: Re: Rollup a modeless OpenDCL form
Post by: Guest on July 05, 2007, 08:52:42 PM
Matt,
When you finish with your ZuneLibrary you could try saving both the height and width (to restore both) .. letting you handle resizable forms.


I don't have ACAD at home so.....   :-(   Guess it'll have to wait 'til tomorrow.
Title: Re: Rollup a modeless OpenDCL form
Post by: jbuzbee on July 06, 2007, 07:31:39 AM
Quote
Well la-dee-da....

trust me, it's not as fun as you may think . . .  :|
Title: Re: Rollup a modeless OpenDCL form
Post by: BazzaCAD on February 26, 2008, 03:45:16 PM
Thanks to James for posting this great example of how to roll-up a form.
Just an FYI, if you're interested in Minimizing your form to the bottom left corner of your screen (I.E. moving & resizing it), there's a new sample showing how to do this.
Here's the info: http://www.opendcl.com/forum/index.php?topic=228.0 (http://www.opendcl.com/forum/index.php?topic=228.0)