Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't set ControlSource to a memvar with AddObject in In
Message
From
14/01/1997 10:18:12
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00017299
Message ID:
00017302
Views:
56
>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?

If you create a memvar in Init(), it won't be viewed outside.

You need to create a form property and you will be able to see it.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform