>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.