Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
What's Wrong With This....????
Message
De
29/10/2002 18:18:16
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00716580
Message ID:
00716719
Vues:
19
>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform