Properties Window...HELP!

Properties Window...HELP!

Anonymous
Not applicable
517 Views
6 Replies
Message 1 of 7

Properties Window...HELP!

Anonymous
Not applicable
I am using AutoCAD 2000i and I am programmatically creating custom properties to the existing AutoCAD properties window using VBA. How do I create a custom property that is a dialog based property? (the ... button selection)
0 Likes
518 Views
6 Replies
Replies (6)
Message 2 of 7

Anonymous
Not applicable
first, how are you "
size=3>programmatically creating custom properties to the existing AutoCAD
properties window" ?


--
Kevin

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
am using AutoCAD 2000i and I am programmatically creating custom properties to
the existing AutoCAD properties window using VBA. How do I create a custom
property that is a dialog based property? (the ... button
selection)
0 Likes
Message 3 of 7

Anonymous
Not applicable
The asdkopmx dll enables you to extend the properties window. The problem is there isn't anything in the dll for a dialog based property without editing the C++ code source code, which I am not comfortable doing.
0 Likes
Message 4 of 7

Anonymous
Not applicable
I don't necessarily need to use the dll. Anyone out there know any way at all in VBA to add a file dialog button to the properties window? I'm desperate!
0 Likes
Message 5 of 7

Anonymous
Not applicable
I haven't dug into these custom properties enough
to know the answer, but I'm thinking somewhere along the lines of using the
event handler (oProp4_OnSet) to run this dialog? You could put the dialog box
code in this routine, and although you wouldn't actually see the ... button, you
might achieve the same level of functionality. Let me know if you need help
calling the file dialog itself.


--
Kevin

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
I
don't necessarily need to use the dll. Anyone out there know any way at all in
VBA to add a file dialog button to the properties window? I'm
desperate!
0 Likes
Message 6 of 7

Anonymous
Not applicable
That may be good enough for government work 😃 I'll just tell them this is how it is and they'll just have to live with it, ha, ha. Thank you so much!
0 Likes
Message 7 of 7

Anonymous
Not applicable
No problem - if you get it working, would you mind
posting the code? I'd like to see how you did it.

 

thanks,
--
Kevin

 

 


style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
That
may be good enough for government work 😃 I'll just tell them this is how it
is and they'll just have to live with it, ha, ha. Thank you so
much!
0 Likes