VBA
Discuss AutoCAD ActiveX and VBA (Visual Basic for Applications) questions here.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Double-click problem

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
213 Views, 4 Replies

Double-click problem

I wrote vbaprogram, and want to activate it whenever I double-click on some objects, for example a line, but I always get the Properties form out, How can I get my vba form out while the properties form is not shown up?

Thanks
4 REPLIES 4
Message 2 of 5
Bryco
in reply to: Anonymous

Your vba is probably not initialising, do a search for that.
Message 3 of 5
NathTay
in reply to: Anonymous

Use the dblclkedit command to turn off double click editing. Then have a double click event handler that loads your form.

Regards - Nathan
Message 4 of 5
Anonymous
in reply to: Anonymous

Where is the "double click event" in VBA to handle? AcadDocument,
AcadApplication or AcadEntity/AcadObject? None of them exposes such event
via VBA API.

wrote in message news:5164900@discussion.autodesk.com...
Use the dblclkedit command to turn off double click editing. Then have a
double click event handler that loads your form.

Regards - Nathan
Message 5 of 5
NathTay
in reply to: Anonymous

Sorry I should have been specific. BeginDoubleClick event of AcadDocument.

Here is a previous discussion with an example http://discussion.autodesk.com/thread.jspa?messageID=3948566

Regards - Nathan

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost