Suppress Message Box

Started by contact_ankit86, February 18, 2014, 05:55:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

contact_ankit86

Hi,

I am dropping the shapes on Visio page through VBA and then connecting them But when I drop the shapes on page I get a message that says "To connect shapes, drop a shape on the superior page". Can any one tell me how can i suppress this message. i do not want to display this message.

Thanks

Paul Herber

That's not a standard Visio message. Does it occur when you create a new diagram (say, Flowchart) and drop a shape?
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

contact_ankit86

This happens When I paste a shape on a page while creating an Org Chart.. PFA the message that I see..


Paul Herber

#3
Ah yes, there is a tick box "Don't show this message again" or menu Org Chart -> Options -> Show drawing tips when available

P.S. The message is "... superior shape" not "... superior page", that's why I didn't recognise it, sorry.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

contact_ankit86

oooohhhhh... Thanks you soooooo much.. You saved my life.. Also is there any way we can prevent the connection on drop.. I mean when we drop a shape on another shape It automatically connects the two.. Can we avoid that..? Is there any way to do that ?


contact_ankit86

Also what you suggested regarding the message on OrgChart -- Options.. Can we set that through VBA ?

Paul Herber

With the org chart thje whole point of dropping one shape on its superior is to create a connection (done by the org chart addon). If you don't drop on the superior shape then you don't get a connection.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

Paul Herber

Quote from: contact_ankit86 on February 18, 2014, 10:30:47 AM
Also what you suggested regarding the message on OrgChart -- Options.. Can we set that through VBA ?

I use SendChar for this sort of thing (in Delphi though, I'm sure there must be a VBA equivalent).
.

Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/

contact_ankit86

Ok.. Yeah I know that.. Actually I have a big big chart to create so I am dropping the shapes and then dropping the connectors and then connecting them.. Dropping shapes on another shapes connects it automatically but at the same time moves the child shape lil away. Now when it moves the child shape away there are chances it overlaps with another shape on the page which then makes a new connection (which actually is the wrong one).. You got what i mean t to say ? Happy to explain again in detail so was kinda trying to avoid that.

Anyways thats not a big problem..

I was asking of there is a VBA to set the display options so that "Show drawing tips when available" is unchecked via VBA

Paul Herber

I think if you always drop your subordinate shapes, say, in the top left-hand corner, then move it to where you want it, it should never create a connection you don't want.
Electronic and Electrical engineering, business and software stencils for Visio -

https://www.paulherber.co.uk/