Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding methods to a class object
Message
De
15/08/2007 19:44:20
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01248400
Message ID:
01248412
Vues:
35
I understood about half of that. I think I'm tired. I'll come back to it tomorrow, but if this helps, it is an OLE on a form right now, but I want to just have the OLE in a PRG so I can create a DLL that is accessed from another EXE during runtime.

>>Almost. OLEPUBLIC is just a keyword, like PUBLIC. But I am trying to make a PRG-based class of the visual OLE that is based on Winsock. I didn't know that converting from the visual to code was an option in the Class Browser.
>>
>
>Take your existing form, open it in the class browser, then use View Code button.
>
>Grab the code and translate it into the program.
>
>Unfortunately, I'm afraid you would run into limitation. You would not be able to add an object to the class based on session. It has to be a form.
>
>Or you can have two classes. One is session based and another Winsock based. This way it would work.
>
>>>Are you working with the existing visual form class and trying to convert it into OLEPUBLIC class based on session?
>>>
>>>Start from the visual form and check the code in the Class Browser. Then convert it.
>>>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform