my own components
Publicado: Mar Feb 17, 2009 4:54 am
Howdy
What a great thing. I like this a lot.
I have a few pointers for those who haven't played yet.
RegisterComponent is not in the help file so you are left guessing what
argument is what.
Once you create your dll you must copy it into the XailerBin folder for
Xailer to see the tab appear and have Xailer load it.
You must add a INIT PROCEDURE and the register each component in there.
You need a RC file with your images that appear on the toolbar in your
project
You need to inherit either TComponent or TControl so that your item appears
in the correct section of the object explorer.
If you don't inherit one or the other, when you drop the component on,
Xailer will display an error. It doesn't crash, it just doesn't tell you
much.
Cheers
Nick
What a great thing. I like this a lot.
I have a few pointers for those who haven't played yet.
RegisterComponent is not in the help file so you are left guessing what
argument is what.
Once you create your dll you must copy it into the XailerBin folder for
Xailer to see the tab appear and have Xailer load it.
You must add a INIT PROCEDURE and the register each component in there.
You need a RC file with your images that appear on the toolbar in your
project
You need to inherit either TComponent or TControl so that your item appears
in the correct section of the object explorer.
If you don't inherit one or the other, when you drop the component on,
Xailer will display an error. It doesn't crash, it just doesn't tell you
much.
Cheers
Nick