Author Topic: Getting Started with Dcl Dialogs  (Read 5476 times)

0 Members and 1 Guest are viewing this topic.

terrycadd

  • Guest
Getting Started with Dcl Dialogs
« on: November 24, 2006, 11:44:02 PM »
I have recently written a tutorial called "Getting Started with Dcl Dialogs",
http://web2.airmail.net/terrycad/Tutorials/MyDialogs.htm
There are examples of all of the basic dcl tiles with an accompanying AutoLISP function to load and control the dialogs. Also included is an example of hiding a dialog and selecting an object. There is several dialog control utilities included for working with dialogs. DclCalcs is a utility program for calculating the height and width of dialog tiles. It is especially helpful for calculating the height and width of image tiles based upon the ratio of pixels required. The last section of the tutorial covers an easy method for creating 32x32 icon images for dialogs.
I realize that there are other tutorials on the web relating to dialogs. This is my version along with several of my custom utilities that I would like to contribute to new AutoLISP programmers that are just getting started with Dcl Dialogs.
Terry Cadd

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: Getting Started with Dcl Dialogs
« Reply #1 on: November 25, 2006, 03:26:31 AM »
Nice work Terry.

Welcome to theSwamp, and thanks.

kwb


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.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: Getting Started with Dcl Dialogs
« Reply #2 on: November 25, 2006, 08:38:16 AM »
Nice work Terry & also a hardy welcome to the swamp.

I like the way you take the user from simple to more complex tasks with easy to understand examples.
It should be very useful for anyone wanting to use DCL.
« Last Edit: November 25, 2006, 08:58:17 AM by CAB »
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.

LE

  • Guest
Re: Getting Started with Dcl Dialogs
« Reply #3 on: November 25, 2006, 12:58:45 PM »
Welcome Terry;

Excellent work you have done!

terrycadd

  • Guest
Getting Started with Dcl Dialogs
« Reply #4 on: November 27, 2006, 01:18:13 AM »
Thank all of you for your comments and input. I will be working on Part 2 after the holidays and I welcome everyone’s suggestions for topics to include. There was so much information to cover in Part 1 to include all the basic tiles, that towards the end I wanted to touch on mode_tile, but couldn’t find a good place to include it. However, a few examples are found in DclCalcs. In Part 2, I will be including an edit_box function to accept any form of architectural notations or real numbers and convert it to architectural in the edit box. The variable will be stored as a real number for easy calculations later. I did not want to include architectural notation in the Part 1 version, as there are extra steps involved that may be confusing at first. Also architectural notation is specific to only the Engineering Departments that use it, or can benefit by it.

Your suggestions and comments for topics to include for Part 2 are welcome.
Thanks,
Terry Cadd
http://web2.airmail.net/terrycad/Tutorials/MyQuestions.htm

GDF

  • Water Moccasin
  • Posts: 2081
Re: Getting Started with Dcl Dialogs
« Reply #5 on: November 27, 2006, 02:14:10 PM »
Terry

Good work, glad to see that I am not the only one using dcl.

Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
Re: Getting Started with Dcl Dialogs
« Reply #6 on: November 27, 2006, 09:05:42 PM »
glad to see that I am not the only one using dcl.

Heck I can't figure out that new fangled VBA stuff.  I've been sticking to DCL  I does everything I need it to do and more.  I'm in the same boat (good or bad)  ;-)
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Crank

  • Water Moccasin
  • Posts: 1503
Re: Getting Started with Dcl Dialogs
« Reply #7 on: November 28, 2006, 02:46:22 PM »
I use Protobox (shareware) to make my .dcl files. A very good tool !
There is no need to know the .dcl-language (only how to use it :) )

I'm using version 2.3, but I can't find that version any more. I think version 2.2 is available on this site
Vault Professional 2023     +     AEC Collection

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Getting Started with Dcl Dialogs
« Reply #8 on: November 28, 2006, 04:39:41 PM »
Terry...very nice site.....

I've enter to my favorites..
Keep smile...

diarmuid

  • Bull Frog
  • Posts: 417
Re: Getting Started with Dcl Dialogs
« Reply #9 on: November 29, 2006, 07:44:07 AM »
just the thing that i was looking for, and there i was writing a letter to santa...

dear santa...could you please send me a link to a web sit that will show me how to "do" dcl files.


 :lmao: :lmao: :lmao: :lmao:
If you want to win something run the 100m, if you want to experience something run a marathon

Slim©

  • Needs a day job
  • Posts: 6566
  • The Dude Abides...
Re: Getting Started with Dcl Dialogs
« Reply #10 on: November 29, 2006, 08:27:03 AM »
Nice work.
And Welcome to theSwamp!
I drink beer and I know things....

Guest

  • Guest
Re: Getting Started with Dcl Dialogs
« Reply #11 on: November 29, 2006, 11:42:34 AM »
One suggestion... Make the site a little easier on the eyes.   :-o

Andrea

  • Water Moccasin
  • Posts: 2372
Re: Getting Started with Dcl Dialogs
« Reply #12 on: November 29, 2006, 01:16:35 PM »
I use Protobox (shareware) to make my .dcl files. A very good tool !
There is no need to know the .dcl-language (only how to use it :) )

I'm using version 2.3, but I can't find that version any more. I think version 2.2 is available on this site

I prefer ObjectDCL.
Keep smile...

CADaver

  • Guest
Re: Getting Started with Dcl Dialogs
« Reply #13 on: November 29, 2006, 02:38:30 PM »
I'm using version 2.3, but I can't find that version any more. I think version 2.2 is available on this site
Just so you are aware, that is a cracked warez site that promotes pirated software.

Crank

  • Water Moccasin
  • Posts: 1503
Re: Getting Started with Dcl Dialogs
« Reply #14 on: November 29, 2006, 10:28:33 PM »
Protobox isn't protected. There is only a request on the info dialog to pay for the program if you find it usefull.
Vault Professional 2023     +     AEC Collection

CADaver

  • Guest
Re: Getting Started with Dcl Dialogs
« Reply #15 on: November 30, 2006, 06:20:09 PM »
Protobox isn't protected. There is only a request on the info dialog to pay for the program if you find it usefull.
Protobox is not a problem, promoting a cracked warez site is.  At least it is for me.