Página 1 de 1

Xailer IDE Questions

Publicado: Mar Abr 21, 2009 1:08 pm
por Simon White
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

Xailer IDE Questions

Publicado: Mar Abr 21, 2009 1:50 pm
por jfgimenez
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

Xailer IDE Questions

Publicado: Mié Abr 22, 2009 1:35 pm
por Simon White
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.

Xailer IDE Questions

Publicado: Jue Abr 23, 2009 10:34 am
por jfgimenez
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

Xailer IDE Questions

Publicado: Sab Abr 25, 2009 4:11 am
por Simon White
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.