Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't set ControlSource to a memvar with AddObject in In
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00017299
Message ID:
00017401
Views:
64
>
> I am creating some text boxes on the fly in a form Init.
> I can set the control sorce to a field. I can set the control source of
> an existing text box to the memvar but get a message "Data source for this
> object must be a variable reference". Anyone got any ideas?

Could it be that the memvar that you assign as the controlsource is out
of scope?

Maybe try to use a property of the form, or a global variable.

HTH,

Marc

If things have the tendency to go your way, do not worry. It won't last. Jules Renard.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform