Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding object to a column
Message
From
23/10/2006 01:21:18
 
 
To
23/10/2006 01:06:01
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01163775
Message ID:
01163879
Views:
8
>Hi Borislav,
>
>Thanks for the codes. I just have one question, instead of currentcontrol set to label1. I used the following codes in the init() of the grid
>
>this.column3.lbl_No.Caption = "No"
>this.column3.lbl_No.alignment = 2
>this.column3.lbl_No.Visible = .T.
>
>This.Column3.DynamicCurrentControl=[IIF(!Temp.Fee,"Lbl_No","Lbl_Yes")]
>
>When I run the app, I need to click onto column3 in order to see the caption of the label. How can I fix this problem?
>
>TIA

You can try this simplest way ( none labels ):
This.Column3.Enabled = .F.
This.Column3.ControlSource=[(IIF(!Temp.Fee,"No","Yes"))]
Previous
Reply
Map
View

Click here to load this message in the networking platform