In FiveWin, I could assign a child dialog to a TPanel object
programmatically. When the user switches context in my program, I could
"End" one non-modal dialog and create another. Furthermore, I could work on
all these child dialogs and their various edit controls independently in
Borland's Resource Editor.
Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
can I edit a TPanel/TBevel or TPages control without a Form container and
then assign it to a Form container at runtime. I don't want to copy and
paste from prg to XFM just to edit the data entry screen.
I have so many data entry screens in our application that I cannot create
them all at once using hidden panels or TPages. It is not memory or time
efficient.
Thanks
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.
Dialogs in Panels Question
Dialogs in Panels Question
Andrew,
> In FiveWin, I could assign a child dialog to a TPanel object
> programmatically. When the user switches context in my program, I could
> "End" one non-modal dialog and create another. Furthermore, I could work
> on all these child dialogs and their various edit controls independently
> in Borland's Resource Editor.
>
> Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
> can I edit a TPanel/TBevel or TPages control without a Form container and
> then assign it to a Form container at runtime. I don't want to copy and
> paste from prg to XFM just to edit the data entry screen.
>
> I have so many data entry screens in our application that I cannot create
> them all at once using hidden panels or TPages. It is not memory or time
> efficient.
Give a look at xailersamplesdatacontrolsdbfdata6. That sample is using a
special class (TFormFolder in FrmFolder.prg, which is derived from
XFolderPage) to allow what you want. That way, you can design any "folder
page" as a regular form in the IDE, and later, show it as a page in the
folder control. Of course, the same can be applied to the TPages control.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
> In FiveWin, I could assign a child dialog to a TPanel object
> programmatically. When the user switches context in my program, I could
> "End" one non-modal dialog and create another. Furthermore, I could work
> on all these child dialogs and their various edit controls independently
> in Borland's Resource Editor.
>
> Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
> can I edit a TPanel/TBevel or TPages control without a Form container and
> then assign it to a Form container at runtime. I don't want to copy and
> paste from prg to XFM just to edit the data entry screen.
>
> I have so many data entry screens in our application that I cannot create
> them all at once using hidden panels or TPages. It is not memory or time
> efficient.
Give a look at xailersamplesdatacontrolsdbfdata6. That sample is using a
special class (TFormFolder in FrmFolder.prg, which is derived from
XFolderPage) to allow what you want. That way, you can design any "folder
page" as a regular form in the IDE, and later, show it as a page in the
folder control. Of course, the same can be applied to the TPages control.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Dialogs in Panels Question
Perfecto! That's what I was looking for.
Thanks.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cf9289$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Andrew,
>
>> In FiveWin, I could assign a child dialog to a TPanel object
>> programmatically. When the user switches context in my program, I could
>> "End" one non-modal dialog and create another. Furthermore, I could work
>> on all these child dialogs and their various edit controls independently
>> in Borland's Resource Editor.
>>
>> Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
>> can I edit a TPanel/TBevel or TPages control without a Form container and
>> then assign it to a Form container at runtime. I don't want to copy and
>> paste from prg to XFM just to edit the data entry screen.
>>
>> I have so many data entry screens in our application that I cannot create
>> them all at once using hidden panels or TPages. It is not memory or time
>> efficient.
>
> Give a look at xailersamplesdatacontrolsdbfdata6. That sample is using
> a special class (TFormFolder in FrmFolder.prg, which is derived from
> XFolderPage) to allow what you want. That way, you can design any "folder
> page" as a regular form in the IDE, and later, show it as a page in the
> folder control. Of course, the same can be applied to the TPages control.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
Thanks.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cf9289$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Andrew,
>
>> In FiveWin, I could assign a child dialog to a TPanel object
>> programmatically. When the user switches context in my program, I could
>> "End" one non-modal dialog and create another. Furthermore, I could work
>> on all these child dialogs and their various edit controls independently
>> in Borland's Resource Editor.
>>
>> Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
>> can I edit a TPanel/TBevel or TPages control without a Form container and
>> then assign it to a Form container at runtime. I don't want to copy and
>> paste from prg to XFM just to edit the data entry screen.
>>
>> I have so many data entry screens in our application that I cannot create
>> them all at once using hidden panels or TPages. It is not memory or time
>> efficient.
>
> Give a look at xailersamplesdatacontrolsdbfdata6. That sample is using
> a special class (TFormFolder in FrmFolder.prg, which is derived from
> XFolderPage) to allow what you want. That way, you can design any "folder
> page" as a regular form in the IDE, and later, show it as a page in the
> folder control. Of course, the same can be applied to the TPages control.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
Dialogs in Panels Question
Just out of curiosity, are there any other undocumented (english) classs
like XPage and XFolderPage. Or if they are documented and just not in the
Xailer help file, where can I find the documentation?
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cf9289$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Andrew,
>
>> In FiveWin, I could assign a child dialog to a TPanel object
>> programmatically. When the user switches context in my program, I could
>> "End" one non-modal dialog and create another. Furthermore, I could work
>> on all these child dialogs and their various edit controls independently
>> in Borland's Resource Editor.
>>
>> Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
>> can I edit a TPanel/TBevel or TPages control without a Form container and
>> then assign it to a Form container at runtime. I don't want to copy and
>> paste from prg to XFM just to edit the data entry screen.
>>
>> I have so many data entry screens in our application that I cannot create
>> them all at once using hidden panels or TPages. It is not memory or time
>> efficient.
>
> Give a look at xailersamplesdatacontrolsdbfdata6. That sample is using
> a special class (TFormFolder in FrmFolder.prg, which is derived from
> XFolderPage) to allow what you want. That way, you can design any "folder
> page" as a regular form in the IDE, and later, show it as a page in the
> folder control. Of course, the same can be applied to the TPages control.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
like XPage and XFolderPage. Or if they are documented and just not in the
Xailer help file, where can I find the documentation?
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cf9289$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Andrew,
>
>> In FiveWin, I could assign a child dialog to a TPanel object
>> programmatically. When the user switches context in my program, I could
>> "End" one non-modal dialog and create another. Furthermore, I could work
>> on all these child dialogs and their various edit controls independently
>> in Borland's Resource Editor.
>>
>> Is this possible in Xailer? Can a TPanel have a child dialog? If not, how
>> can I edit a TPanel/TBevel or TPages control without a Form container and
>> then assign it to a Form container at runtime. I don't want to copy and
>> paste from prg to XFM just to edit the data entry screen.
>>
>> I have so many data entry screens in our application that I cannot create
>> them all at once using hidden panels or TPages. It is not memory or time
>> efficient.
>
> Give a look at xailersamplesdatacontrolsdbfdata6. That sample is using
> a special class (TFormFolder in FrmFolder.prg, which is derived from
> XFolderPage) to allow what you want. That way, you can design any "folder
> page" as a regular form in the IDE, and later, show it as a page in the
> folder control. Of course, the same can be applied to the TPages control.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
Dialogs in Panels Question
Andrew,
> Just out of curiosity, are there any other undocumented (english) classs
> like XPage and XFolderPage. Or if they are documented and just not in the
> Xailer help file, where can I find the documentation?
Almost Xailer's classes have 2 sides: X and T classes. The X classes contain
all the code, while the T ones are empty. The true Xailer hierarchy is:
XComponent -> TComponent ->XWinObject -> TWinObject ->XControl ->
TControl -> ...
This let you to develop your own T class in any level of the hierarchy, to
change any class behavior without modifying the Xailer source code.
Please, read this article to understand what I'm talking about:
http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-x-classes.html
--
Regards,
Jose F. Gimenez
http://www.xailer.com
> Just out of curiosity, are there any other undocumented (english) classs
> like XPage and XFolderPage. Or if they are documented and just not in the
> Xailer help file, where can I find the documentation?
Almost Xailer's classes have 2 sides: X and T classes. The X classes contain
all the code, while the T ones are empty. The true Xailer hierarchy is:
XComponent -> TComponent ->XWinObject -> TWinObject ->XControl ->
TControl -> ...
This let you to develop your own T class in any level of the hierarchy, to
change any class behavior without modifying the Xailer source code.
Please, read this article to understand what I'm talking about:
http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-x-classes.html
--
Regards,
Jose F. Gimenez
http://www.xailer.com
Dialogs in Panels Question
This just keeps getting better and better. So in other words, Instead of
using TPage and having to program all the properties and methods, I can use
XPage and program just the stuff I need for this "dialog" container. Neat!
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cfbb1e$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Andrew,
>
>> Just out of curiosity, are there any other undocumented (english) classs
>> like XPage and XFolderPage. Or if they are documented and just not in the
>> Xailer help file, where can I find the documentation?
>
> Almost Xailer's classes have 2 sides: X and T classes. The X classes
> contain all the code, while the T ones are empty. The true Xailer
> hierarchy is:
>
> XComponent -> TComponent ->XWinObject -> TWinObject ->XControl ->
> TControl -> ...
>
> This let you to develop your own T class in any level of the hierarchy, to
> change any class behavior without modifying the Xailer source code.
>
> Please, read this article to understand what I'm talking about:
> http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-x-classes.html
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
using TPage and having to program all the properties and methods, I can use
XPage and program just the stuff I need for this "dialog" container. Neat!
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cfbb1e$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Andrew,
>
>> Just out of curiosity, are there any other undocumented (english) classs
>> like XPage and XFolderPage. Or if they are documented and just not in the
>> Xailer help file, where can I find the documentation?
>
> Almost Xailer's classes have 2 sides: X and T classes. The X classes
> contain all the code, while the T ones are empty. The true Xailer
> hierarchy is:
>
> XComponent -> TComponent ->XWinObject -> TWinObject ->XControl ->
> TControl -> ...
>
> This let you to develop your own T class in any level of the hierarchy, to
> change any class behavior without modifying the Xailer source code.
>
> Please, read this article to understand what I'm talking about:
> http://sailingwithxailer.blogspot.com/2 ... nced-xaile r-techniques-x-classes.html
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>