Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid.DynmicCurrentControl
Message
From
10/08/1997 00:28:55
 
 
To
10/08/1997 00:15:35
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00043846
Message ID:
00043895
Views:
39
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform