Hi Gerry
I understand what you are telling me but it does strick me as a little strange that it works differently on a form. The default scalemode is pixels so I would expect the control to use pixels even when it is not contained on a form.
I guess I will just have to ensure that I only assign integer values so I avoid this conversion process.
So if what you are saying is indeed try then this is NOT A BUG but simply the way VFP works.
Thanks,
Simon
>>I have just discovered this only happens when the control is not on a form. However, I still do not understand why it should happen at all. I am assigning the value and it should accept the value regardless.
>
>It's accepting the value, but it accepts it as Foxels, and then translates it to Pixels.
Simon White
dCipher Computing