Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drag and Drop Problem
Message
 
To
21/08/1998 10:28:47
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00128766
Message ID:
00128805
Views:
17
>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?

Are you entering the caption into the DBC when modifying the table? If so, just be sure the colon is part of the caption.
Barbara Paltiel, Paltiel Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform