Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why Can't I use a PRG Based Form for OCX
Message
De
12/07/2004 16:25:27
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00923081
Message ID:
00923458
Vues:
39
>Brilliant! I will try that when I get home tonight. Sometimes I get so wound-up with tunnel vision [i.e., refusing to use an SCX], I forget to step back to look for other options.
>
>>How about just slapping the ocx on a form and subclassing the form in the prg?
>>
>>Define Class MyPrgFormClass As MySCXFormClass Of MyFormLibrary.VCX
>>
>>EndDefine
>>
>>Regards
>>
>>Malc

Thomas's method of putting it into a VFP container in a .VCX and adding it to your .PRG based form at runtime should work just fine. I've used that same method for TreeViews and other ActiveX controls.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform