>>>>Anyone Knows how to run a class's method in
>>>> ON KEY LABEL DO
>>>>Thks!
>>>
>>>ON KEY LABEL DEL MyClass.MyMethod()
>>
>>Thks but I tried and it gave me
>> "object not found!"
>>I had set classlib but it still gave me error!?
>>
>>Must the object be in the file .prg instead of .vcx??!
>
>No, my class is in the VCX. I think that the object your referencing is out of scope. Try to create it at a higher level or to put the object pointer in a propriety in the form .
THANKS FOR ALL YOUR HELP! I GOT WHAT I WANT!!
I LOVE UT!!
Précédent
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