>I made a label class with autosize set to .t. and alignment set to right.
>
>This is so I can enter a caption like "Equip. no. :" on the screen and have the colons aligned. Also so I can change the caption at run time.
>
>The caption seems to 'jump' about 5 characters to the left after it is saved.
>
>Any help from anyone?
When you change the caption, you must:
1st: Save the 'right'(label.left+label.width) position of the label.
2nd: Set the new caption
3th: Set the new 'left' position (right-label.width)
HTH
:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca