General information
Category:
Forms & Form designer
>>When I try
>>
>>This.Column1.AddObject("oMyText","TextBox")
>>This.Column1.DynamicCurrentControl=IIF(condition,Text1,oMyText)
>
>I never used this method, but the expression must evaluate to a char expression that is the name of the control you want. So, probably:
>
>This.Column1.DynamicCurrentControl=IIF(condition,"Text1","oMyText")
>
>Hope this is the problem. :)
>
>>SET CURRENCY TO 'F"
>>is OK
>>In a Form.Method
>>SET CURRENCY TO 'F'
>>is wrong
>
>What do you mean by "is wrong"? It is not displayed, you have an error, etc?
>
>Please notice that SET CURRENCY is scoped to the data session (ie: you must set it for each data session if you work with data sessions.)
>
>>Sometimes i am being mad with this damned VFP...
>
>Don't worry and be calm :). We all do it from time to time. :) Just be happy UT exists and you can ask here (and also complain here). This is very good indeed!
>
>Vlad
Vlad
I tried your syntax. I got "Expression non valide. Utilisez une expression valide pour la propriété DynamicCurrentcontrol"
Yes I am Happy with U.T. I saw it for the first time in December and I learn a lot with yours threads and your answers.
For a VFP developer a little alone in France (we are very few using VFP) it's very secure.
A bientôt et merci encore
Michel
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only