Hi
In Visual FoxPro and even .Net the first thing I always do is sub-class all the base controls. Then if the base controls change I only have one place to go to make any adjustments to my code if need be. However, if I do this in Xailer how do I use the Form Designer so that when I add controls to a form it is adding my sub-classed controls not Xailer's default controls?
Secondly I do not see any way to view the methods available for a control in the IDE. I can see properties and events but not methods. Is there a way to view the methods also?
Thanks,
Simon
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.
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.
Xailer IDE Questions
-
- Mensajes: 30
- Registrado: Dom Mar 08, 2009 3:24 am
Xailer IDE Questions
Simon,
> In Visual FoxPro and even .Net the first thing I always do is sub-class
> all the base controls. Then if the base controls change I only have one
> place to go to make any adjustments to my code if need be. However,
> if I do this in Xailer how do I use the Form Designer so that when I add
> controls to a form it is adding my sub-classed controls not Xailer's
> default controls?
The easyest way is by creating your own tab in the components palette with
your controls. You may do it by creating a dll containing your controls
(that can be derived from the Xailer's ones) and using the "component
manager" to load it into the IDE. You may also make a lib with those
controls in order to link them statically it into your programs, avoiding to
redistribute the dll.
> Secondly I do not see any way to view the methods available for a
> control in the IDE. I can see properties and events but not methods.
> Is there a way to view the methods also?
We're working on it and we expect to have it ready for Xailer 2 final.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> In Visual FoxPro and even .Net the first thing I always do is sub-class
> all the base controls. Then if the base controls change I only have one
> place to go to make any adjustments to my code if need be. However,
> if I do this in Xailer how do I use the Form Designer so that when I add
> controls to a form it is adding my sub-classed controls not Xailer's
> default controls?
The easyest way is by creating your own tab in the components palette with
your controls. You may do it by creating a dll containing your controls
(that can be derived from the Xailer's ones) and using the "component
manager" to load it into the IDE. You may also make a lib with those
controls in order to link them statically it into your programs, avoiding to
redistribute the dll.
> Secondly I do not see any way to view the methods available for a
> control in the IDE. I can see properties and events but not methods.
> Is there a way to view the methods also?
We're working on it and we expect to have it ready for Xailer 2 final.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 30
- Registrado: Dom Mar 08, 2009 3:24 am
Xailer IDE Questions
Hi
That is great to hear. Xailer just keeps getting better and better.
If I wanted to create a non-visual class for Business Objects would I just subClass TComponent?
Secondly it would be nice to have a component that could be useg a socket server to wait for requests on a TCP port and then start a separate thread to process the request. In this way you could build a web/application server application.
Thanks,
Simon
> Simon,
>
>> In Visual FoxPro and even .Net the first thing I always do is sub-
>> class all the base controls. Then if the base controls change I
>> only have one place to go to make any adjustments to my code if
>> need be. However, if I do this in Xailer how do I use the Form
>> Designer so that when I add controls to a form it is adding my
>> sub-classed controls not Xailer's default controls?
>>
>
> The easyest way is by creating your own tab in the components
> palette with your controls. You may do it by creating a dll
> containing your controls (that can be derived from the Xailer's
> ones) and using the "component manager" to load it into the IDE.
> You may also make a lib with those controls in order to link them
> statically it into your programs, avoiding to redistribute the dll.
>
>
>> Secondly I do not see any way to view the methods available for a
>> control in the IDE. I can see properties and events but not
>> methods. Is there a way to view the methods also?
>>
>
> We're working on it and we expect to have it ready for Xailer 2
> final.
That is great to hear. Xailer just keeps getting better and better.
If I wanted to create a non-visual class for Business Objects would I just subClass TComponent?
Secondly it would be nice to have a component that could be useg a socket server to wait for requests on a TCP port and then start a separate thread to process the request. In this way you could build a web/application server application.
Thanks,
Simon
> Simon,
>
>> In Visual FoxPro and even .Net the first thing I always do is sub-
>> class all the base controls. Then if the base controls change I
>> only have one place to go to make any adjustments to my code if
>> need be. However, if I do this in Xailer how do I use the Form
>> Designer so that when I add controls to a form it is adding my
>> sub-classed controls not Xailer's default controls?
>>
>
> The easyest way is by creating your own tab in the components
> palette with your controls. You may do it by creating a dll
> containing your controls (that can be derived from the Xailer's
> ones) and using the "component manager" to load it into the IDE.
> You may also make a lib with those controls in order to link them
> statically it into your programs, avoiding to redistribute the dll.
>
>
>> Secondly I do not see any way to view the methods available for a
>> control in the IDE. I can see properties and events but not
>> methods. Is there a way to view the methods also?
>>
>
> We're working on it and we expect to have it ready for Xailer 2
> final.
Xailer IDE Questions
Simon,
> That is great to hear. Xailer just keeps getting better and better.
Thanks for your kind words.
> If I wanted to create a non-visual class for Business Objects
> would I just subClass TComponent?
Yes. If you need to use the event system and/or manage it inside the IDE,
then you have to derive your classes from TComponent.
> Secondly it would be nice to have a component that could be
> useg a socket server to wait for requests on a TCP port and then
> start a separate thread to process the request. In this way you
> could build a web/application server application.
Well, we plan to do it (in multithreading mode) soon, but we don't have a
date for it.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
> That is great to hear. Xailer just keeps getting better and better.
Thanks for your kind words.
> If I wanted to create a non-visual class for Business Objects
> would I just subClass TComponent?
Yes. If you need to use the event system and/or manage it inside the IDE,
then you have to derive your classes from TComponent.
> Secondly it would be nice to have a component that could be
> useg a socket server to wait for requests on a TCP port and then
> start a separate thread to process the request. In this way you
> could build a web/application server application.
Well, we plan to do it (in multithreading mode) soon, but we don't have a
date for it.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info
-
- Mensajes: 30
- Registrado: Dom Mar 08, 2009 3:24 am
Xailer IDE Questions
Hi
Is there some documentation about using the Component Manager to add custom components to the component palette?
Thanks,
Simon
> Simon,
>
>> In Visual FoxPro and even .Net the first thing I always do is sub-
>> class all the base controls. Then if the base controls change I
>> only have one place to go to make any adjustments to my code if
>> need be. However, if I do this in Xailer how do I use the Form
>> Designer so that when I add controls to a form it is adding my
>> sub-classed controls not Xailer's default controls?
>>
>
> The easyest way is by creating your own tab in the components
> palette with your controls. You may do it by creating a dll
> containing your controls (that can be derived from the Xailer's
> ones) and using the "component manager" to load it into the IDE.
> You may also make a lib with those controls in order to link them
> statically it into your programs, avoiding to redistribute the dll.
>
>
>> Secondly I do not see any way to view the methods available for a
>> control in the IDE. I can see properties and events but not
>> methods. Is there a way to view the methods also?
>>
>
> We're working on it and we expect to have it ready for Xailer 2
> final.
Is there some documentation about using the Component Manager to add custom components to the component palette?
Thanks,
Simon
> Simon,
>
>> In Visual FoxPro and even .Net the first thing I always do is sub-
>> class all the base controls. Then if the base controls change I
>> only have one place to go to make any adjustments to my code if
>> need be. However, if I do this in Xailer how do I use the Form
>> Designer so that when I add controls to a form it is adding my
>> sub-classed controls not Xailer's default controls?
>>
>
> The easyest way is by creating your own tab in the components
> palette with your controls. You may do it by creating a dll
> containing your controls (that can be derived from the Xailer's
> ones) and using the "component manager" to load it into the IDE.
> You may also make a lib with those controls in order to link them
> statically it into your programs, avoiding to redistribute the dll.
>
>
>> Secondly I do not see any way to view the methods available for a
>> control in the IDE. I can see properties and events but not
>> methods. Is there a way to view the methods also?
>>
>
> We're working on it and we expect to have it ready for Xailer 2
> final.