Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Caption Refresh
Message
 
To
10/08/1998 14:40:46
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00125292
Message ID:
00125378
Views:
17
What I mean is this:
In the method you call to update the caption, set the caption directly. In other words, perform the assignment this way:

THISFORM.lblAmount.caption = IIF(credit, "Credit", "Debit")

in the method's code. The value of the caption at design time should be a string, not a function.

Joe

>Joe,
>
>I changed the caption of lblAmount to = thisform.amttype & created the method amttype, which now contains IIF(credit, "Credit", "Debit"). Is this what you meant? ...... This doesn't work either. Thanks for your help!
Joseph C. Kempel
Systems Analyst/Programmer
JNC
Previous
Reply
Map
View

Click here to load this message in the networking platform