Message 1 of 4
Modal Form Inside AutoCAD Command
Not applicable
01-09-2007
03:18 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I had the fleeting notion that it would be a good idea to add a sort of 'auto-complete' functionality to the -LAYER command.
I type everything in AutoCAD, and thought it would save some wear and tear on my wrists.
I have made similar programs, where a transparent modal form pops up, with a textbox on top, and a listbox on the bottom. As you start to type, the list box finds the entry that matches what you are typing. Essentially you can type a few letters to choose a much longer name of something.
I want to add this functionality to the -LAYER command, and the CHANGE command. However i cannot figure out how to make the program run inside the AutoCAD commands.
Would it be possible to link it to a shortcut key, say CTRL + L, or something similar, and then have the program return a value back to the AutoCAD editor?
I'm just trying to find out if anyone has any experience with this situation, before i spend hours racking my brain only to find out it can't be done.
I type everything in AutoCAD, and thought it would save some wear and tear on my wrists.
I have made similar programs, where a transparent modal form pops up, with a textbox on top, and a listbox on the bottom. As you start to type, the list box finds the entry that matches what you are typing. Essentially you can type a few letters to choose a much longer name of something.
I want to add this functionality to the -LAYER command, and the CHANGE command. However i cannot figure out how to make the program run inside the AutoCAD commands.
Would it be possible to link it to a shortcut key, say CTRL + L, or something similar, and then have the program return a value back to the AutoCAD editor?
I'm just trying to find out if anyone has any experience with this situation, before i spend hours racking my brain only to find out it can't be done.