I have a form with right aligned labels that I change dynamically when the
form loads. I'm having trouble moving the label so it remains right aligned
with all the other labels.
I determine the width of the current label and new label using
FntCharsWidth. Assuming the current label has been correctly right aligned
in Constructor, I then adjust the label's position using
FrmSetObjectPosition to accommodate the new text.
This *almost* works. Depending on the actual text I use, it's a usually a
couple pixels off, but it's not constant and I can't figure out why.
Is there another way to do this? (I don't really want to use read-only
fields for my labels).
I assume there's something missing in my calculation of the label offset,
but I can't imagine what else it would be.
Joseph Koral
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/