Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't set ControlSource to a memvar with AddObject in In
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00017299
Message ID:
00017559
Vues:
62
>
> >> 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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform