J
jasper
Hi all,
I've come across something very strange recently. I am currently
working on a multi-user program which also contains a proces modelling
module. This module uses Visio for graphical representation of the
proces structure diagrams.
The diagrams are generated on demand form a database. Changed made in
the diagrams are written back to the database. One of the symbols used
in these diagrams is an arrow which has a textlabel. These labels can
be moved in the Visio environment (PinX and PinY) and the changes are
written to the DB.
The problem occurs when a diagram is opened and the posititons of
these labels have to be set. First I retrieve the X and Y position
from the database. Then I change the TxtPinX and TxtPinY cells with
the following code (real basic):
transfer.cells("TxtPinX") = x
transfer.cells("TxtPinY") = y
Now for the weird part: When I let Visio execute the code the labels
end up in all kinds of weird places. Yet when I debug the code (step
by step), the labels are positioned in the right place! This is the
first time i've encountered such a strange difference. Does anybody
know what's going on?
Thanx in advance.
J. Simmer
I've come across something very strange recently. I am currently
working on a multi-user program which also contains a proces modelling
module. This module uses Visio for graphical representation of the
proces structure diagrams.
The diagrams are generated on demand form a database. Changed made in
the diagrams are written back to the database. One of the symbols used
in these diagrams is an arrow which has a textlabel. These labels can
be moved in the Visio environment (PinX and PinY) and the changes are
written to the DB.
The problem occurs when a diagram is opened and the posititons of
these labels have to be set. First I retrieve the X and Y position
from the database. Then I change the TxtPinX and TxtPinY cells with
the following code (real basic):
transfer.cells("TxtPinX") = x
transfer.cells("TxtPinY") = y
Now for the weird part: When I let Visio execute the code the labels
end up in all kinds of weird places. Yet when I debug the code (step
by step), the labels are positioned in the right place! This is the
first time i've encountered such a strange difference. Does anybody
know what's going on?
Thanx in advance.
J. Simmer