Connector becomes offset when connected shape is moved via VBA in PowerPoint 2007

A

Arno

Hello,

I encountered the following bug in PowerPoint 2007:

First, interactively,
- put a PowerPoint rectangle on a slide
- put a connector on the same slide
- connect one end of the connector to the right(!) side of the
rectangle (junction highlights in red)

Then, via VBA,
- move rectangle, e.g., select the rectangle and run
"ActiveWindow.Selection.ShapeRange(1).Left = 100"

Observation:
- Although only the shape is selected, the connector moves to "Left =
100" as well.
- The connector is no longer attached to the right side of the shape.
- When the connector is selected, the end that was connected to the
right side of the rectangle highlights in red, indicating that the
connector still "thinks" that it is connected to the rectangle

This occurs in PowerPoint 2007 only, PowerPoint 2003 behaves as it
should.

Arno
 
S

Steve Rindsberg

Hello,

I encountered the following bug in PowerPoint 2007:

First, interactively,
- put a PowerPoint rectangle on a slide
- put a connector on the same slide
- connect one end of the connector to the right(!) side of the
rectangle (junction highlights in red)

Then, via VBA,
- move rectangle, e.g., select the rectangle and run
"ActiveWindow.Selection.ShapeRange(1).Left = 100"

Observation:
- Although only the shape is selected, the connector moves to "Left =
100" as well.
- The connector is no longer attached to the right side of the shape.
- When the connector is selected, the end that was connected to the
right side of the rectangle highlights in red, indicating that the
connector still "thinks" that it is connected to the rectangle

This occurs in PowerPoint 2007 only, PowerPoint 2003 behaves as it
should.

I'm getting a slightly different behavior: when I move the rectangle to the
right, the connector reconnects to the LEFT side of the rectangle (if the
rectangle is small enough that the left side is within "snap range". Otherwise
the connector becomes disconnected from the rectangle.

In any case, it's not behaving as it should for either of us. I've sent both
cases along to someone at MS.
 
W

Wei Lu [MSFT]

Hello Arno,

I reproduced your issue, I will contact the internal team for update. I
appreciate your patience.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top