Please tell me what I am doing wrong!
I am attempting to create some general purpose ActiveX controls, using Delphi ActiveForms.
I add lots of properties and events, and they appear correctly when I use them inside VB, IE etc.
However, when I import one as an ActiveX control to use in Delphi itself (I know you wouldn't normally do that), the properties appear in the object inspector list ok, but are not saved when the form is saved. (i.e. all of the published properties in the _TLB file have "stored false" next to them). Oddly, the assigned events get saved ok.
This means that the poor delphi programmer has to programmatically set the properties before he can use my ActiveX control.
I give lots of points for this, because I just need someone to try doing the same thing to see if they can make it work, or if Delphi is just being rubbish in not supporting its own standard.
I know I could create my controls as VCL components, convert to ActiveX and then publish both .ocx and .bpl versions of my controls.
But I don't want to do this because:
a) ActiveForms are much easier and quicker for me to create
b) I don't want to publish two different versions of my software, depending on the platform.
Any help most appreciated.