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:
00017559
Views:
58
>
> >> I am creating some text
> boxes on the fly in a form Init.
> >> 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?
> >Maybe try to use a property of the form, or a global variable.
>
> Or maybe, don't use anything. Can you just use myTextBox.Value everywhere
> you'd want to use the memvar?

Right. But the advantage of the controlsource is that:

1. It is less cumbersome, for bad typers this is not to be discarded!
2. You have acces to function and input masks under the data tab of the
property sheet.

Marc

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

Click here to load this message in the networking platform