Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
What's Wrong With This....????
Message
From
29/10/2002 18:18:16
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00716580
Message ID:
00716719
Views:
18
>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

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform