Neither VFP7 nor the public beta showed this:
In different forms I got three textboxes in a container, .Enabled=.f., controlSource="dsbld(1)", (2) and (3).
There´s a textbox, .Enabled=.f., controlSource="dsbld(4)", NOT in a container.
There are always several other objects.
VFP8: Error 45 in command oFrm1.Show - Not a character expression
If I remove the container with the textboxes the error is gone.
When I Watch dsbld in the debugger the error is gone too. This is the weirdest part to me: What´s the voodoo that the exception disappears when a variable is in the Watch window?
Upon inspection dsbld is properly initialized, dsbld is A, all items are C.
Sorry for reposting this, but I´m tired of my monolog and I tried to be as precise as I can. When I fell over this the whole thing was a multi-step exploration.
Thanks for any takers
G
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement