Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Relative Control Referencing
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00103404
Message ID:
00103582
Vues:
27
>>>Bill, I've passed references to an entire form this way - you send a form reference to another form so you can update properties. Use the debugger to look at the object you're passing.
>>>
>>>Barbara
>>>
>>I did just what you suggested. The entire control and its properties passed, but when i execute the step (thru the debugger) I get error Property Addnode is not found.
>>
>>my statement in the method is:
>>
>>lcControl.Addnode(x,x,x)
>>
>>
>>Any suggestions?
>>
>>Thx,
>>
>>Bill
>
>Does lcControl contain the character string name of the tree control, or a reference to tree control itself? If it's the character string name, replace the line of code with
>
>&lcControl..AddNode
>
>Travis

Barbara unlocked the door. If you pass the parameter with no quotes (turns out that the parameter just needs to be 'this', it carries the entire object reference to the method. Pretty slick. Works like a charm. I tried the '&' when passing with quotes and it told me the property didn't exist. Don't know why not. Seemed like it would. Thanks for the help.

Bill
CySolutions, Medical Information Technology
You're only as good as your last
success, so . . .If it works. . .don't fix it!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform