Author Topic: Rollup a modeless OpenDCL form  (Read 5621 times)

0 Members and 1 Guest are viewing this topic.

jbuzbee

  • Swamp Rat
  • Posts: 851
Rollup a modeless OpenDCL form
« 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.
James Buzbee
Windows 8

scottcd

  • Newt
  • Posts: 52
Re: Rollup a modeless OpenDCL form
« Reply #1 on: July 05, 2007, 02:18:16 PM »
Very Slick....
AutoCAD Dos R9 - 2018 and BricCAD 18.2

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8712
  • AKA Daniel
Re: Rollup a modeless OpenDCL form
« Reply #2 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-)

Guest

  • Guest
Re: Rollup a modeless OpenDCL form
« Reply #3 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.

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Rollup a modeless OpenDCL form
« Reply #4 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 . . .
James Buzbee
Windows 8

Guest

  • Guest
Re: Rollup a modeless OpenDCL form
« Reply #5 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.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Rollup a modeless OpenDCL form
« Reply #6 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.

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

Guest

  • Guest
Re: Rollup a modeless OpenDCL form
« Reply #7 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.

jbuzbee

  • Swamp Rat
  • Posts: 851
Re: Rollup a modeless OpenDCL form
« Reply #8 on: July 06, 2007, 07:31:39 AM »
Quote
Well la-dee-da....

trust me, it's not as fun as you may think . . .  :|
James Buzbee
Windows 8

BazzaCAD

  • Guest
Re: Rollup a modeless OpenDCL form
« Reply #9 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