In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

my own components

Xailer professional forum in English
Responder
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

my own components

Mensaje por Nick Hilder »

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
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

my own components

Mensaje por Nick Hilder »

Where do I find a list of all the EDITOR constants?
Like PE_Color and PE_BrowseFolder
Regards Nick
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> wrote in message
news:499a34e9$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> 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
>
>
>
>
>
>
Nick Hilder
Mensajes: 328
Registrado: Mar Nov 21, 2006 2:10 am

my own components

Mensaje por Nick Hilder »

Where do I find a list of all the EDITOR constants?
Like PE_Color and PE_BrowseFolder
Regards Nick
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> wrote in message
news:499a34e9$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> 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
>
>
>
>
>
>
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

my own components

Mensaje por notengo »

Nick,
> What a great thing. I like this a lot.
Yes, its one of the better features in Xailer
> RegisterComponent is not in the help file so you are left guessing what
> argument is what.
The sintax is: RegisterComponent( cPalette, cImage, cTooltip, bClassBlock )
> 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.
The DLL can be in any path you want. When I develop a new DLL y load it
always from its own project folder and only copy it to Xailer folder when
it is finished.
> You must add a INIT PROCEDURE and the register each component in there.
Yes.
> You need a RC file with your images that appear on the toolbar in your
> project
Yes. And if your DLL needs custom images they should be there too. You can
add the .res with the images to your application to use them in runtime.
> You need to inherit either TComponent or TControl so that your item appears
> in the correct section of the object explorer.
Yes.
> 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.
This should be fixed. Thanks for the info.
About the property editors, I am almost done with an article which show the
standar property editors and how to write your own.
Regards,
José Lalí­n
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

my own components

Mensaje por notengo »

Nick,
> What a great thing. I like this a lot.
Yes, its one of the better features in Xailer
> RegisterComponent is not in the help file so you are left guessing what
> argument is what.
The sintax is: RegisterComponent( cPalette, cImage, cTooltip, bClassBlock )
> 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.
The DLL can be in any path you want. When I develop a new DLL y load it
always from its own project folder and only copy it to Xailer folder when
it is finished.
> You must add a INIT PROCEDURE and the register each component in there.
Yes.
> You need a RC file with your images that appear on the toolbar in your
> project
Yes. And if your DLL needs custom images they should be there too. You can
add the .res with the images to your application to use them in runtime.
> You need to inherit either TComponent or TControl so that your item appears
> in the correct section of the object explorer.
Yes.
> 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.
This should be fixed. Thanks for the info.
About the property editors, I am almost done with an article which show the
standar property editors and how to write your own.
Regards,
José Lalí­n
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

my own components

Mensaje por ignacio »

Nick,
Thanks for the tips. RegisterComponent is not on the help file since is only
available inside the IDE. We are working on a tutorial for creating
components and of course it will be documented there.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:499a34e9$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> 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
>
>
>
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9440
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

my own components

Mensaje por ignacio »

Nick,
Thanks for the tips. RegisterComponent is not on the help file since is only
available inside the IDE. We are working on a tutorial for creating
components and of course it will be documented there.
Regards,
--
Ignacio Ortiz de Zúñiga
Xailer support / Soporte de Xailer
http://www.xailer.com
http://www.xailer.info
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> escribió en el mensaje
news:499a34e9$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> 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
>
>
>
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

my own components

Mensaje por ChrisGillard »

Nick, Jose
I have tried to my own component and have got it into the IDE toolbar and
dropped it onto a form.
But have not done an INIT Procedure.
Could you show an example of an Init Procedure and whick .prg does it go it
.... the project root ??
Some help would be appreciated.
Regards
Chris
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> wrote in message
news:499a34e9$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> 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
>
>
>
>
>
>
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

my own components

Mensaje por ChrisGillard »

Nick, Jose
I have tried to my own component and have got it into the IDE toolbar and
dropped it onto a form.
But have not done an INIT Procedure.
Could you show an example of an Init Procedure and whick .prg does it go it
.... the project root ??
Some help would be appreciated.
Regards
Chris
"Nick Hilder" <nick_n0_spam_atcapsol.com.au> wrote in message
news:499a34e9$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
> 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
>
>
>
>
>
>
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

my own components

Mensaje por notengo »

Chris,
check this:
http://xailer.info/eng/?p=43
Regards,
José Lalí­n
notengo
Mensajes: 417
Registrado: Vie Oct 12, 2007 1:29 pm

my own components

Mensaje por notengo »

Chris,
check this:
http://xailer.info/eng/?p=43
Regards,
José Lalí­n
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

my own components

Mensaje por ChrisGillard »

Jose,
Working late ...
They look like good examples to learn from.
Thanks very much.
Chris
"José Lalín" <notengo@correo.com> wrote in message
news:499c8c17$[email=2@svctag-j7w3v3j....]2@svctag-j7w3v3j....[/email]
>
> Chris,
>
> check this:
>
> http://xailer.info/eng/?p=43
>
> Regards,
> José Lalín
ChrisGillard
Mensajes: 384
Registrado: Mar May 01, 2007 5:49 pm

my own components

Mensaje por ChrisGillard »

Jose,
Working late ...
They look like good examples to learn from.
Thanks very much.
Chris
"José Lalín" <notengo@correo.com> wrote in message
news:499c8c17$[email=2@svctag-j7w3v3j....]2@svctag-j7w3v3j....[/email]
>
> Chris,
>
> check this:
>
> http://xailer.info/eng/?p=43
>
> Regards,
> José Lalín
Responder