I am trying to alter the width of a rectangle on a form from a Macro.
I can reduce the width to zero easily by using .....
SetValue, [Forms]![progress bar]![rectProgressBar].[Width]=n
then RepaintObject, but no matter what value I put as n, the rectangle is almost non-existant.
I know a little about twips (567 to the cm apparently), and even setting n to large numbers (above 567) seems to make no difference.
I'm sure its something simple thats I'm doing wrong.
I can reduce the width to zero easily by using .....
SetValue, [Forms]![progress bar]![rectProgressBar].[Width]=n
then RepaintObject, but no matter what value I put as n, the rectangle is almost non-existant.
I know a little about twips (567 to the cm apparently), and even setting n to large numbers (above 567) seems to make no difference.
I'm sure its something simple thats I'm doing wrong.
Comment