Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this new in VFP 9 or it was always this way?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01044798
Message ID:
01044892
Vues:
14
>>>>What I changed now is I instantiate the container in the INIT method of the form, rather than dropping it on the form.
>>>>
>>>>This way, I have no problem.
>>>
>>>Perhaps in the former case you don't have the table (or cursor) open when your container initializes. If that would be the case, you would receive run-time errors.
>>
>>I thought something along those lines too. But the cursor is initialized in LOAD method. And the way I discovered the problem was when I was setting very bogus values in the ControlSource of the textboxes of the container. But I would never get a run-time error.
>
>Something is resetting the ControlSource. Did you try to put some test messagebox for the controlsource in question?

No, I didn't put any messagebox() because I don't know how to put a messagebox to check the ControlSource. That is, ControlSource is a property and you can only put a messagebox into a method.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform