Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drag and Drop Problem
Message
 
À
21/08/1998 10:28:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00128766
Message ID:
00128770
Vues:
25
The init event will not be run until you run the app. When run, you should see the colon (you may need to set autosize to .t.). The only way to accomplish this in the designer itself would be to create your own builder.

>I've mapped a field's label to a class and want its label to always appear with a colon. I've put the following code in the class's init method:
>
>this.caption=IIF(RIGHT(this.caption,1) $ "!?:#",this.caption,alltrim(this.caption)+":")
>
>However, when I drag and drop a field from the dataenvironment onto the form, no colon appears. If I use the VFP form wizard to accomplish this, the colon does appear. How can I get the colon to appear when I drag and drop?
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform