VBA Controls Project

VBA Controls Project

Anonymous
Not applicable
310 Views
5 Replies
Message 1 of 6

VBA Controls Project

Anonymous
Not applicable
The following is a post that can found here:

http://www.theswamp.org/index.php?topic=10906.new#new

OK, I've started a VBA controls project for the ObjectDCL community.
Hopefully this can be a project we all can learn from -I've sure learned
alot from just creating this project. I've included most of the more
common controls found in ODCL. Most of them I've got some pretty simple
programming for, the ListView and TreeView I'm going to ask the VBA
community to help out with. I'll cross post this over at the VBA forum here
at the swamp and also at the AutoDesk VBA discussion group. Here's a look
at the form:



The controls are:

ListView
TreeView
TextBox - coded for saving a view
ComboBox - one each for changing the active textstyle and dimstyle
ListBox - one each single and multiple select
Command Buttons - various applications - note the relationship with AutoLISP
("command" . . .)
Labels - interactive with other controls
Toggle Buttons - coded to switch from modelspace to paperspace
Option Buttons - coded to switch ortho on and off
Tab Control - contains the Dimstyle and TextStyle controls.
Picture Control

I've labeled the dvb file for today's date. If anyone makes changes re-name
with the date of the changes and perhaps even your initials. Again, if
anyone can help in providing code for the other controls - of better /
different code for any controls I think this could be a useful project for
many.

Thankyou everyone who's helped thus far!!

jb
0 Likes
311 Views
5 Replies
Replies (5)
Message 2 of 6

Anonymous
Not applicable
Hi James,

What is the point of this project?

Where will the code be used? In a lisp program or in a VBA program?

--

Laurie Comerford
CADApps
www.cadapps.com.au
"James Buzbee" wrote in message
news:5227705@discussion.autodesk.com...
The following is a post that can found here:

http://www.theswamp.org/index.php?topic=10906.new#new

OK, I've started a VBA controls project for the ObjectDCL community.
Hopefully this can be a project we all can learn from -I've sure learned
alot from just creating this project. I've included most of the more
common controls found in ODCL. Most of them I've got some pretty simple
programming for, the ListView and TreeView I'm going to ask the VBA
community to help out with. I'll cross post this over at the VBA forum here
at the swamp and also at the AutoDesk VBA discussion group. Here's a look
at the form:



The controls are:

ListView
TreeView
TextBox - coded for saving a view
ComboBox - one each for changing the active textstyle and dimstyle
ListBox - one each single and multiple select
Command Buttons - various applications - note the relationship with AutoLISP
("command" . . .)
Labels - interactive with other controls
Toggle Buttons - coded to switch from modelspace to paperspace
Option Buttons - coded to switch ortho on and off
Tab Control - contains the Dimstyle and TextStyle controls.
Picture Control

I've labeled the dvb file for today's date. If anyone makes changes re-name
with the date of the changes and perhaps even your initials. Again, if
anyone can help in providing code for the other controls - of better /
different code for any controls I think this could be a useful project for
many.

Thankyou everyone who's helped thus far!!

jb
0 Likes
Message 3 of 6

Anonymous
Not applicable
Laurie,

The purpose of this project is to help users of ObjectDCL make the
conversion to VBA. If you can provide any insight to working with Microsoft
Forms in VBA that would be awsome - thanks.

jb
0 Likes
Message 4 of 6

Anonymous
Not applicable
James, I've attached a small program that you can add to your project that will sort layers alphabetically. It sorts a collection,
compliments of Mike Tuersley.

--
Matt W
[Insert funny quote/saying here]
0 Likes
Message 5 of 6

Anonymous
Not applicable
James- I laud your undertaking. I'm not a "real" programmer, just a hack.
I'm not sure I can contribute, but I will if I can. I will make use of your
code, though.

I almost bought ObjectDCL earlier this year, but didn't because I was
nervous about the future support (no response to question to the author).

Thanks, Craig
0 Likes
Message 6 of 6

Anonymous
Not applicable
> (no response to question to the author).
That's usually a good sign that things are going downhill...

--
Matt W
[Insert funny quote/saying here]
0 Likes