>I have 2 labels, side by side.
>
>When I change the caption of lblLeft, I want to move lblRight over to the right.
>
>This code is in the Assign Method of lblLeft's Caption Property
If this is really there, you must be having some error grabber which doesn't allow you to see them, or this is in the parent of the labels.
If this is really the lblLeft.caption_assign, then:
>
>LPARAMETERS cNewCaption
>
> WITH This
>
> .lblLeft.Caption = ALLTRIM(cNewCaption)
> .lblRight.Left = .lblLeft.Left + .lblLeft.Width + 15
>
> ENDWITH
>
>RETURN
>
should rather be
LPARAMETERS cNewCaption
WITH This
.Caption = ALLTRIM(cNewCaption)
.lblRight.Left = .Left + .Width + 15
ENDWITH
RETURN