Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.DynmicCurrentControl
Message
 
To
10/08/1997 00:15:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00043846
Message ID:
00043913
Views:
36
>>This is a Column property, not Grid property. You don't need quotes.
>>
>>Vlad
>>
>>>What is the correct syntax for dynamicCurrentControl, I tried
>>>
>>>="IIF(Condition,Text1,Text2)"
>>>
>>> but it don't works
>>>
>>>Where am i wrong ?
>>>
>>>Thanks for your help
>>>
>>>michel
>
>Thank's Paul. Ok for the quotes. But It don't Works ... Snif...
>
>When I try
>
>This.Column1.AddObject("oMyText","TextBox")
>This.Column1.DynamicCurrentControl=IIF(condition,Text1,oMyText)
>I got an error
>
>
Michael,

Try this;

THIS.Column1.DynamicCurrentControl = IIF(Condition, "Text1","MyText")
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform