G
Guest
Is there a way to know the positioning coordinates of a control on a form?
I need a routine that will for example "move all controls on the form 1 inch
to the right".
The code below would work if I had the value for the variable oldPositionX,
but I cannot figure out how to know this dynamically.
Thanks very much.
Dim ctl As Control, cnt As Integer
For Each ctl In Forms(formName).Controls
ctl.Move oldPositionX + 1440
Jay
I need a routine that will for example "move all controls on the form 1 inch
to the right".
The code below would work if I had the value for the variable oldPositionX,
but I cannot figure out how to know this dynamically.
Thanks very much.
Dim ctl As Control, cnt As Integer
For Each ctl In Forms(formName).Controls
ctl.Move oldPositionX + 1440
Jay