Hi there,
Having a problem with this, I have generated a VCL based on a TMemo. Within the TMemo I have a custom function GetLabelFileData which retrieves info from a text file and displays it in the Memo box onscreen.
When I install this VCL into a package and then drag and drop it onto various Delphi Applications it works fine and I have access to the function GetLabelFileData.
My problem arises when I convert the VCL using the Delphi 5 wizard to an ocx file, again I register and drag and drop onto apps, but I now don't see or have access to this custom function !! I still have all my properties but no customer function. I did add it via the Type Library editor and then I could see it okay once I dragged my activeX onto a form but it didn't seem to do anything.
Any ideas on what I need to do to maintain access to this function in the ocx ?
Thanks in advance
Mully
Having a problem with this, I have generated a VCL based on a TMemo. Within the TMemo I have a custom function GetLabelFileData which retrieves info from a text file and displays it in the Memo box onscreen.
When I install this VCL into a package and then drag and drop it onto various Delphi Applications it works fine and I have access to the function GetLabelFileData.
My problem arises when I convert the VCL using the Delphi 5 wizard to an ocx file, again I register and drag and drop onto apps, but I now don't see or have access to this custom function !! I still have all my properties but no customer function. I did add it via the Type Library editor and then I could see it okay once I dragged my activeX onto a form but it didn't seem to do anything.
Any ideas on what I need to do to maintain access to this function in the ocx ?
Thanks in advance
Mully