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.
TFormFolder in DBFData6.prg .... Interesting!
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Hi,
Was interested in how you do the example in DBFData6 ... it is a form with
an Explorer Bar on the left and a TFolder on the right which displays other
'forms' from other .prgs.
Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
FrmFolder.prg ... this is the secret I think!!
I am interested in ways to have the same layout main window with an area on
the right to have different 'forms' visible depending on different menu
options .... your sample allows this.
If I did not want the 'tabs' is there any other container class like TPanel
that could do the job showing a 'Form' in it ??
Something like Class TFormPanel FROM XPanel ??
I have a lot to learn!
Regards
Chris Gillard
Was interested in how you do the example in DBFData6 ... it is a form with
an Explorer Bar on the left and a TFolder on the right which displays other
'forms' from other .prgs.
Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
FrmFolder.prg ... this is the secret I think!!
I am interested in ways to have the same layout main window with an area on
the right to have different 'forms' visible depending on different menu
options .... your sample allows this.
If I did not want the 'tabs' is there any other container class like TPanel
that could do the job showing a 'Form' in it ??
Something like Class TFormPanel FROM XPanel ??
I have a lot to learn!
Regards
Chris Gillard
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TFormFolder in DBFData6.prg .... Interesting!
Chris,
That's it. Just use TFormFolder as a template for any other alike class you
may need.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> Was interested in how you do the example in DBFData6 ... it is a form with
> an Explorer Bar on the left and a TFolder on the right which displays
> other 'forms' from other .prgs.
>
> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
> FrmFolder.prg ... this is the secret I think!!
>
> I am interested in ways to have the same layout main window with an area
> on the right to have different 'forms' visible depending on different menu
> options .... your sample allows this.
>
> If I did not want the 'tabs' is there any other container class like
> TPanel that could do the job showing a 'Form' in it ??
>
> Something like Class TFormPanel FROM XPanel ??
>
> I have a lot to learn!
>
> Regards
>
> Chris Gillard
>
>
>
>
That's it. Just use TFormFolder as a template for any other alike class you
may need.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> Was interested in how you do the example in DBFData6 ... it is a form with
> an Explorer Bar on the left and a TFolder on the right which displays
> other 'forms' from other .prgs.
>
> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
> FrmFolder.prg ... this is the secret I think!!
>
> I am interested in ways to have the same layout main window with an area
> on the right to have different 'forms' visible depending on different menu
> options .... your sample allows this.
>
> If I did not want the 'tabs' is there any other container class like
> TPanel that could do the job showing a 'Form' in it ??
>
> Something like Class TFormPanel FROM XPanel ??
>
> I have a lot to learn!
>
> Regards
>
> Chris Gillard
>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TFormFolder in DBFData6.prg .... Interesting!
Chris,
That's it. Just use TFormFolder as a template for any other alike class you
may need.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> Was interested in how you do the example in DBFData6 ... it is a form with
> an Explorer Bar on the left and a TFolder on the right which displays
> other 'forms' from other .prgs.
>
> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
> FrmFolder.prg ... this is the secret I think!!
>
> I am interested in ways to have the same layout main window with an area
> on the right to have different 'forms' visible depending on different menu
> options .... your sample allows this.
>
> If I did not want the 'tabs' is there any other container class like
> TPanel that could do the job showing a 'Form' in it ??
>
> Something like Class TFormPanel FROM XPanel ??
>
> I have a lot to learn!
>
> Regards
>
> Chris Gillard
>
>
>
>
That's it. Just use TFormFolder as a template for any other alike class you
may need.
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Hi,
>
> Was interested in how you do the example in DBFData6 ... it is a form with
> an Explorer Bar on the left and a TFolder on the right which displays
> other 'forms' from other .prgs.
>
> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
> FrmFolder.prg ... this is the secret I think!!
>
> I am interested in ways to have the same layout main window with an area
> on the right to have different 'forms' visible depending on different menu
> options .... your sample allows this.
>
> If I did not want the 'tabs' is there any other container class like
> TPanel that could do the job showing a 'Form' in it ??
>
> Something like Class TFormPanel FROM XPanel ??
>
> I have a lot to learn!
>
> Regards
>
> Chris Gillard
>
>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
I did a Class TFormPanel FROM XPanel based on your TFormFolder.
I had to rem the select() calls to get it to compile.
Nothing is displayed on my panel using similar vode to you.
If you can spare the time my test program is attached.
Thanks for all your help.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
> That's it. Just use TFormFolder as a template for any other alike class
> you
> may need.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi,
>>
>> Was interested in how you do the example in DBFData6 ... it is a form
>> with
>> an Explorer Bar on the left and a TFolder on the right which displays
>> other 'forms' from other .prgs.
>>
>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>> FrmFolder.prg ... this is the secret I think!!
>>
>> I am interested in ways to have the same layout main window with an area
>> on the right to have different 'forms' visible depending on different
>> menu
>> options .... your sample allows this.
>>
>> If I did not want the 'tabs' is there any other container class like
>> TPanel that could do the job showing a 'Form' in it ??
>>
>> Something like Class TFormPanel FROM XPanel ??
>>
>> I have a lot to learn!
>>
>> Regards
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
Attached files FormTest.zip (4.7 KB)Â
I did a Class TFormPanel FROM XPanel based on your TFormFolder.
I had to rem the select() calls to get it to compile.
Nothing is displayed on my panel using similar vode to you.
If you can spare the time my test program is attached.
Thanks for all your help.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
> That's it. Just use TFormFolder as a template for any other alike class
> you
> may need.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi,
>>
>> Was interested in how you do the example in DBFData6 ... it is a form
>> with
>> an Explorer Bar on the left and a TFolder on the right which displays
>> other 'forms' from other .prgs.
>>
>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>> FrmFolder.prg ... this is the secret I think!!
>>
>> I am interested in ways to have the same layout main window with an area
>> on the right to have different 'forms' visible depending on different
>> menu
>> options .... your sample allows this.
>>
>> If I did not want the 'tabs' is there any other container class like
>> TPanel that could do the job showing a 'Form' in it ??
>>
>> Something like Class TFormPanel FROM XPanel ??
>>
>> I have a lot to learn!
>>
>> Regards
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
Attached files FormTest.zip (4.7 KB)Â
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
I did a Class TFormPanel FROM XPanel based on your TFormFolder.
I had to rem the select() calls to get it to compile.
Nothing is displayed on my panel using similar vode to you.
If you can spare the time my test program is attached.
Thanks for all your help.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
> That's it. Just use TFormFolder as a template for any other alike class
> you
> may need.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi,
>>
>> Was interested in how you do the example in DBFData6 ... it is a form
>> with
>> an Explorer Bar on the left and a TFolder on the right which displays
>> other 'forms' from other .prgs.
>>
>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>> FrmFolder.prg ... this is the secret I think!!
>>
>> I am interested in ways to have the same layout main window with an area
>> on the right to have different 'forms' visible depending on different
>> menu
>> options .... your sample allows this.
>>
>> If I did not want the 'tabs' is there any other container class like
>> TPanel that could do the job showing a 'Form' in it ??
>>
>> Something like Class TFormPanel FROM XPanel ??
>>
>> I have a lot to learn!
>>
>> Regards
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
Attached files FormTest.zip (4.7 KB)Â
I did a Class TFormPanel FROM XPanel based on your TFormFolder.
I had to rem the select() calls to get it to compile.
Nothing is displayed on my panel using similar vode to you.
If you can spare the time my test program is attached.
Thanks for all your help.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Chris,
>
> That's it. Just use TFormFolder as a template for any other alike class
> you
> may need.
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Hi,
>>
>> Was interested in how you do the example in DBFData6 ... it is a form
>> with
>> an Explorer Bar on the left and a TFolder on the right which displays
>> other 'forms' from other .prgs.
>>
>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>> FrmFolder.prg ... this is the secret I think!!
>>
>> I am interested in ways to have the same layout main window with an area
>> on the right to have different 'forms' visible depending on different
>> menu
>> options .... your sample allows this.
>>
>> If I did not want the 'tabs' is there any other container class like
>> TPanel that could do the job showing a 'Form' in it ??
>>
>> Something like Class TFormPanel FROM XPanel ??
>>
>> I have a lot to learn!
>>
>> Regards
>>
>> Chris Gillard
>>
>>
>>
>>
>
>
Attached files FormTest.zip (4.7 KB)Â
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TFormFolder in DBFData6.prg .... Interesting!
Crhis,
METHOD New( oParent ) CLASS TFormPanel
Super:New( oParent )
::CreateForm()
::nLeft := 0
::nTop := 0
::OnInitialize()
RETURN Self
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>
> I had to rem the select() calls to get it to compile.
>
> Nothing is displayed on my panel using similar vode to you.
>
> If you can spare the time my test program is attached.
>
> Thanks for all your help.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Chris,
>>
>> That's it. Just use TFormFolder as a template for any other alike class
>> you
>> may need.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hi,
>>>
>>> Was interested in how you do the example in DBFData6 ... it is a form
>>> with
>>> an Explorer Bar on the left and a TFolder on the right which displays
>>> other 'forms' from other .prgs.
>>>
>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>> FrmFolder.prg ... this is the secret I think!!
>>>
>>> I am interested in ways to have the same layout main window with an
>>> area
>>> on the right to have different 'forms' visible depending on different
>>> menu
>>> options .... your sample allows this.
>>>
>>> If I did not want the 'tabs' is there any other container class like
>>> TPanel that could do the job showing a 'Form' in it ??
>>>
>>> Something like Class TFormPanel FROM XPanel ??
>>>
>>> I have a lot to learn!
>>>
>>> Regards
>>>
>>> Chris Gillard
>>>
>>>
>>>
>>>
>>
>>
>
>
>
METHOD New( oParent ) CLASS TFormPanel
Super:New( oParent )
::CreateForm()
::nLeft := 0
::nTop := 0
::OnInitialize()
RETURN Self
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>
> I had to rem the select() calls to get it to compile.
>
> Nothing is displayed on my panel using similar vode to you.
>
> If you can spare the time my test program is attached.
>
> Thanks for all your help.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Chris,
>>
>> That's it. Just use TFormFolder as a template for any other alike class
>> you
>> may need.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hi,
>>>
>>> Was interested in how you do the example in DBFData6 ... it is a form
>>> with
>>> an Explorer Bar on the left and a TFolder on the right which displays
>>> other 'forms' from other .prgs.
>>>
>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>> FrmFolder.prg ... this is the secret I think!!
>>>
>>> I am interested in ways to have the same layout main window with an
>>> area
>>> on the right to have different 'forms' visible depending on different
>>> menu
>>> options .... your sample allows this.
>>>
>>> If I did not want the 'tabs' is there any other container class like
>>> TPanel that could do the job showing a 'Form' in it ??
>>>
>>> Something like Class TFormPanel FROM XPanel ??
>>>
>>> I have a lot to learn!
>>>
>>> Regards
>>>
>>> Chris Gillard
>>>
>>>
>>>
>>>
>>
>>
>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TFormFolder in DBFData6.prg .... Interesting!
Crhis,
METHOD New( oParent ) CLASS TFormPanel
Super:New( oParent )
::CreateForm()
::nLeft := 0
::nTop := 0
::OnInitialize()
RETURN Self
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>
> I had to rem the select() calls to get it to compile.
>
> Nothing is displayed on my panel using similar vode to you.
>
> If you can spare the time my test program is attached.
>
> Thanks for all your help.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Chris,
>>
>> That's it. Just use TFormFolder as a template for any other alike class
>> you
>> may need.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hi,
>>>
>>> Was interested in how you do the example in DBFData6 ... it is a form
>>> with
>>> an Explorer Bar on the left and a TFolder on the right which displays
>>> other 'forms' from other .prgs.
>>>
>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>> FrmFolder.prg ... this is the secret I think!!
>>>
>>> I am interested in ways to have the same layout main window with an
>>> area
>>> on the right to have different 'forms' visible depending on different
>>> menu
>>> options .... your sample allows this.
>>>
>>> If I did not want the 'tabs' is there any other container class like
>>> TPanel that could do the job showing a 'Form' in it ??
>>>
>>> Something like Class TFormPanel FROM XPanel ??
>>>
>>> I have a lot to learn!
>>>
>>> Regards
>>>
>>> Chris Gillard
>>>
>>>
>>>
>>>
>>
>>
>
>
>
METHOD New( oParent ) CLASS TFormPanel
Super:New( oParent )
::CreateForm()
::nLeft := 0
::nTop := 0
::OnInitialize()
RETURN Self
Regards,
--
Ignacio Ortiz de Zúñiga
http://www.xailer.com
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>
> I had to rem the select() calls to get it to compile.
>
> Nothing is displayed on my panel using similar vode to you.
>
> If you can spare the time my test program is attached.
>
> Thanks for all your help.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Chris,
>>
>> That's it. Just use TFormFolder as a template for any other alike class
>> you
>> may need.
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Hi,
>>>
>>> Was interested in how you do the example in DBFData6 ... it is a form
>>> with
>>> an Explorer Bar on the left and a TFolder on the right which displays
>>> other 'forms' from other .prgs.
>>>
>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>> FrmFolder.prg ... this is the secret I think!!
>>>
>>> I am interested in ways to have the same layout main window with an
>>> area
>>> on the right to have different 'forms' visible depending on different
>>> menu
>>> options .... your sample allows this.
>>>
>>> If I did not want the 'tabs' is there any other container class like
>>> TPanel that could do the job showing a 'Form' in it ??
>>>
>>> Something like Class TFormPanel FROM XPanel ??
>>>
>>> I have a lot to learn!
>>>
>>> Regards
>>>
>>> Chris Gillard
>>>
>>>
>>>
>>>
>>
>>
>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
That works ... this will be an excellent technique for my applications.
Thank you very much.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Crhis,
>
> METHOD New( oParent ) CLASS TFormPanel
>
> Super:New( oParent )
> ::CreateForm()
> ::nLeft := 0
> ::nTop := 0
> ::OnInitialize()
>
> RETURN Self
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>
>> I had to rem the select() calls to get it to compile.
>>
>> Nothing is displayed on my panel using similar vode to you.
>>
>> If you can spare the time my test program is attached.
>>
>> Thanks for all your help.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Chris,
>>>
>>> That's it. Just use TFormFolder as a template for any other alike class
>>> you
>>> may need.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Hi,
>>>>
>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>> with
>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>> other 'forms' from other .prgs.
>>>>
>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>> FrmFolder.prg ... this is the secret I think!!
>>>>
>>>> I am interested in ways to have the same layout main window with an
>>>> area
>>>> on the right to have different 'forms' visible depending on different
>>>> menu
>>>> options .... your sample allows this.
>>>>
>>>> If I did not want the 'tabs' is there any other container class like
>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>
>>>> Something like Class TFormPanel FROM XPanel ??
>>>>
>>>> I have a lot to learn!
>>>>
>>>> Regards
>>>>
>>>> Chris Gillard
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
That works ... this will be an excellent technique for my applications.
Thank you very much.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Crhis,
>
> METHOD New( oParent ) CLASS TFormPanel
>
> Super:New( oParent )
> ::CreateForm()
> ::nLeft := 0
> ::nTop := 0
> ::OnInitialize()
>
> RETURN Self
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>
>> I had to rem the select() calls to get it to compile.
>>
>> Nothing is displayed on my panel using similar vode to you.
>>
>> If you can spare the time my test program is attached.
>>
>> Thanks for all your help.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Chris,
>>>
>>> That's it. Just use TFormFolder as a template for any other alike class
>>> you
>>> may need.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Hi,
>>>>
>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>> with
>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>> other 'forms' from other .prgs.
>>>>
>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>> FrmFolder.prg ... this is the secret I think!!
>>>>
>>>> I am interested in ways to have the same layout main window with an
>>>> area
>>>> on the right to have different 'forms' visible depending on different
>>>> menu
>>>> options .... your sample allows this.
>>>>
>>>> If I did not want the 'tabs' is there any other container class like
>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>
>>>> Something like Class TFormPanel FROM XPanel ??
>>>>
>>>> I have a lot to learn!
>>>>
>>>> Regards
>>>>
>>>> Chris Gillard
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
That works ... this will be an excellent technique for my applications.
Thank you very much.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Crhis,
>
> METHOD New( oParent ) CLASS TFormPanel
>
> Super:New( oParent )
> ::CreateForm()
> ::nLeft := 0
> ::nTop := 0
> ::OnInitialize()
>
> RETURN Self
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>
>> I had to rem the select() calls to get it to compile.
>>
>> Nothing is displayed on my panel using similar vode to you.
>>
>> If you can spare the time my test program is attached.
>>
>> Thanks for all your help.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Chris,
>>>
>>> That's it. Just use TFormFolder as a template for any other alike class
>>> you
>>> may need.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Hi,
>>>>
>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>> with
>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>> other 'forms' from other .prgs.
>>>>
>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>> FrmFolder.prg ... this is the secret I think!!
>>>>
>>>> I am interested in ways to have the same layout main window with an
>>>> area
>>>> on the right to have different 'forms' visible depending on different
>>>> menu
>>>> options .... your sample allows this.
>>>>
>>>> If I did not want the 'tabs' is there any other container class like
>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>
>>>> Something like Class TFormPanel FROM XPanel ??
>>>>
>>>> I have a lot to learn!
>>>>
>>>> Regards
>>>>
>>>> Chris Gillard
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
That works ... this will be an excellent technique for my applications.
Thank you very much.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Crhis,
>
> METHOD New( oParent ) CLASS TFormPanel
>
> Super:New( oParent )
> ::CreateForm()
> ::nLeft := 0
> ::nTop := 0
> ::OnInitialize()
>
> RETURN Self
>
> Regards,
>
> --
> Ignacio Ortiz de Zúñiga
> http://www.xailer.com
>
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>
>> I had to rem the select() calls to get it to compile.
>>
>> Nothing is displayed on my panel using similar vode to you.
>>
>> If you can spare the time my test program is attached.
>>
>> Thanks for all your help.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Chris,
>>>
>>> That's it. Just use TFormFolder as a template for any other alike class
>>> you
>>> may need.
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Hi,
>>>>
>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>> with
>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>> other 'forms' from other .prgs.
>>>>
>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>> FrmFolder.prg ... this is the secret I think!!
>>>>
>>>> I am interested in ways to have the same layout main window with an
>>>> area
>>>> on the right to have different 'forms' visible depending on different
>>>> menu
>>>> options .... your sample allows this.
>>>>
>>>> If I did not want the 'tabs' is there any other container class like
>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>
>>>> Something like Class TFormPanel FROM XPanel ??
>>>>
>>>> I have a lot to learn!
>>>>
>>>> Regards
>>>>
>>>> Chris Gillard
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
Last question please .... if I want to 'clear' the panel of my added
TFormPanel, so I could assign a different TFormPanel
I am trying the following with no visible effect ...
METHOD Button3Click( oSender ) CLASS TForm1
// ::oPanel1:aControls := {} //
crude
::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
Logdisplay( len( ::oPanel1:aControls) ) // says
'zero'
::oPanel1:Refresh() //
does nothing .... TFormPanel still showing
// ::oPanel1:Redraw()
// does nothing .... TFormPanel still showing
// ::oPanel1:update()
// does nothing .... TFormPanel still showing
::MyFormPanel := NIL // good
housekeeping
RETURN Nil
Hopefully the last question on this topic.
Chris
"Chris Gillard" <chris@bluesquare.co.uk> wrote in message
news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> That works ... this will be an excellent technique for my applications.
>
> Thank you very much.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Crhis,
>>
>> METHOD New( oParent ) CLASS TFormPanel
>>
>> Super:New( oParent )
>> ::CreateForm()
>> ::nLeft := 0
>> ::nTop := 0
>> ::OnInitialize()
>>
>> RETURN Self
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>
>>> I had to rem the select() calls to get it to compile.
>>>
>>> Nothing is displayed on my panel using similar vode to you.
>>>
>>> If you can spare the time my test program is attached.
>>>
>>> Thanks for all your help.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Chris,
>>>>
>>>> That's it. Just use TFormFolder as a template for any other alike class
>>>> you
>>>> may need.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Hi,
>>>>>
>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>> with
>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>> other 'forms' from other .prgs.
>>>>>
>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>
>>>>> I am interested in ways to have the same layout main window with an
>>>>> area
>>>>> on the right to have different 'forms' visible depending on different
>>>>> menu
>>>>> options .... your sample allows this.
>>>>>
>>>>> If I did not want the 'tabs' is there any other container class like
>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>
>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>
>>>>> I have a lot to learn!
>>>>>
>>>>> Regards
>>>>>
>>>>> Chris Gillard
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
Last question please .... if I want to 'clear' the panel of my added
TFormPanel, so I could assign a different TFormPanel
I am trying the following with no visible effect ...
METHOD Button3Click( oSender ) CLASS TForm1
// ::oPanel1:aControls := {} //
crude
::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
Logdisplay( len( ::oPanel1:aControls) ) // says
'zero'
::oPanel1:Refresh() //
does nothing .... TFormPanel still showing
// ::oPanel1:Redraw()
// does nothing .... TFormPanel still showing
// ::oPanel1:update()
// does nothing .... TFormPanel still showing
::MyFormPanel := NIL // good
housekeeping
RETURN Nil
Hopefully the last question on this topic.
Chris
"Chris Gillard" <chris@bluesquare.co.uk> wrote in message
news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> That works ... this will be an excellent technique for my applications.
>
> Thank you very much.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Crhis,
>>
>> METHOD New( oParent ) CLASS TFormPanel
>>
>> Super:New( oParent )
>> ::CreateForm()
>> ::nLeft := 0
>> ::nTop := 0
>> ::OnInitialize()
>>
>> RETURN Self
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>
>>> I had to rem the select() calls to get it to compile.
>>>
>>> Nothing is displayed on my panel using similar vode to you.
>>>
>>> If you can spare the time my test program is attached.
>>>
>>> Thanks for all your help.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Chris,
>>>>
>>>> That's it. Just use TFormFolder as a template for any other alike class
>>>> you
>>>> may need.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Hi,
>>>>>
>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>> with
>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>> other 'forms' from other .prgs.
>>>>>
>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>
>>>>> I am interested in ways to have the same layout main window with an
>>>>> area
>>>>> on the right to have different 'forms' visible depending on different
>>>>> menu
>>>>> options .... your sample allows this.
>>>>>
>>>>> If I did not want the 'tabs' is there any other container class like
>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>
>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>
>>>>> I have a lot to learn!
>>>>>
>>>>> Regards
>>>>>
>>>>> Chris Gillard
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
Last question please .... if I want to 'clear' the panel of my added
TFormPanel, so I could assign a different TFormPanel
I am trying the following with no visible effect ...
METHOD Button3Click( oSender ) CLASS TForm1
// ::oPanel1:aControls := {} //
crude
::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
Logdisplay( len( ::oPanel1:aControls) ) // says
'zero'
::oPanel1:Refresh() //
does nothing .... TFormPanel still showing
// ::oPanel1:Redraw()
// does nothing .... TFormPanel still showing
// ::oPanel1:update()
// does nothing .... TFormPanel still showing
::MyFormPanel := NIL // good
housekeeping
RETURN Nil
Hopefully the last question on this topic.
Chris
"Chris Gillard" <chris@bluesquare.co.uk> wrote in message
news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> That works ... this will be an excellent technique for my applications.
>
> Thank you very much.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Crhis,
>>
>> METHOD New( oParent ) CLASS TFormPanel
>>
>> Super:New( oParent )
>> ::CreateForm()
>> ::nLeft := 0
>> ::nTop := 0
>> ::OnInitialize()
>>
>> RETURN Self
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>
>>> I had to rem the select() calls to get it to compile.
>>>
>>> Nothing is displayed on my panel using similar vode to you.
>>>
>>> If you can spare the time my test program is attached.
>>>
>>> Thanks for all your help.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Chris,
>>>>
>>>> That's it. Just use TFormFolder as a template for any other alike class
>>>> you
>>>> may need.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Hi,
>>>>>
>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>> with
>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>> other 'forms' from other .prgs.
>>>>>
>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>
>>>>> I am interested in ways to have the same layout main window with an
>>>>> area
>>>>> on the right to have different 'forms' visible depending on different
>>>>> menu
>>>>> options .... your sample allows this.
>>>>>
>>>>> If I did not want the 'tabs' is there any other container class like
>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>
>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>
>>>>> I have a lot to learn!
>>>>>
>>>>> Regards
>>>>>
>>>>> Chris Gillard
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
Last question please .... if I want to 'clear' the panel of my added
TFormPanel, so I could assign a different TFormPanel
I am trying the following with no visible effect ...
METHOD Button3Click( oSender ) CLASS TForm1
// ::oPanel1:aControls := {} //
crude
::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
Logdisplay( len( ::oPanel1:aControls) ) // says
'zero'
::oPanel1:Refresh() //
does nothing .... TFormPanel still showing
// ::oPanel1:Redraw()
// does nothing .... TFormPanel still showing
// ::oPanel1:update()
// does nothing .... TFormPanel still showing
::MyFormPanel := NIL // good
housekeeping
RETURN Nil
Hopefully the last question on this topic.
Chris
"Chris Gillard" <chris@bluesquare.co.uk> wrote in message
news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> That works ... this will be an excellent technique for my applications.
>
> Thank you very much.
>
> Chris
>
> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Crhis,
>>
>> METHOD New( oParent ) CLASS TFormPanel
>>
>> Super:New( oParent )
>> ::CreateForm()
>> ::nLeft := 0
>> ::nTop := 0
>> ::OnInitialize()
>>
>> RETURN Self
>>
>> Regards,
>>
>> --
>> Ignacio Ortiz de Zúñiga
>> http://www.xailer.com
>>
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>
>>> I had to rem the select() calls to get it to compile.
>>>
>>> Nothing is displayed on my panel using similar vode to you.
>>>
>>> If you can spare the time my test program is attached.
>>>
>>> Thanks for all your help.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Chris,
>>>>
>>>> That's it. Just use TFormFolder as a template for any other alike class
>>>> you
>>>> may need.
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Hi,
>>>>>
>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>> with
>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>> other 'forms' from other .prgs.
>>>>>
>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>
>>>>> I am interested in ways to have the same layout main window with an
>>>>> area
>>>>> on the right to have different 'forms' visible depending on different
>>>>> menu
>>>>> options .... your sample allows this.
>>>>>
>>>>> If I did not want the 'tabs' is there any other container class like
>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>
>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>
>>>>> I have a lot to learn!
>>>>>
>>>>> Regards
>>>>>
>>>>> Chris Gillard
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>>
>>
>>
>
>
- ignacio
- Site Admin
- Mensajes: 9469
- Registrado: Lun Abr 06, 2015 8:00 pm
- Ubicación: Madrid, Spain
- Contactar:
TFormFolder in DBFData6.prg .... Interesting!
Chris,
oAddedPanel:End()
Regards,
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> Last question please .... if I want to 'clear' the panel of my added
> TFormPanel, so I could assign a different TFormPanel
>
> I am trying the following with no visible effect ...
>
> METHOD Button3Click( oSender ) CLASS TForm1
> // ::oPanel1:aControls := {} //
> crude
> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
> Logdisplay( len( ::oPanel1:aControls) ) // says
> 'zero'
> ::oPanel1:Refresh()
> // does nothing .... TFormPanel still showing
> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
> // ::oPanel1:update() // does nothing .... TFormPanel still showing
> ::MyFormPanel := NIL //
> good housekeeping
> RETURN Nil
>
> Hopefully the last question on this topic.
>
> Chris
>
> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> That works ... this will be an excellent technique for my applications.
>>
>> Thank you very much.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Crhis,
>>>
>>> METHOD New( oParent ) CLASS TFormPanel
>>>
>>> Super:New( oParent )
>>> ::CreateForm()
>>> ::nLeft := 0
>>> ::nTop := 0
>>> ::OnInitialize()
>>>
>>> RETURN Self
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>> Ignacio,
>>>>
>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>
>>>> I had to rem the select() calls to get it to compile.
>>>>
>>>> Nothing is displayed on my panel using similar vode to you.
>>>>
>>>> If you can spare the time my test program is attached.
>>>>
>>>> Thanks for all your help.
>>>>
>>>> Chris
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Chris,
>>>>>
>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>> class you
>>>>> may need.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Ignacio Ortiz de Zúñiga
>>>>> http://www.xailer.com
>>>>>
>>>>>
>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Hi,
>>>>>>
>>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>>> with
>>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>>> other 'forms' from other .prgs.
>>>>>>
>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>
>>>>>> I am interested in ways to have the same layout main window with an
>>>>>> area
>>>>>> on the right to have different 'forms' visible depending on different
>>>>>> menu
>>>>>> options .... your sample allows this.
>>>>>>
>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>
>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>
>>>>>> I have a lot to learn!
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Chris Gillard
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
oAddedPanel:End()
Regards,
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> Last question please .... if I want to 'clear' the panel of my added
> TFormPanel, so I could assign a different TFormPanel
>
> I am trying the following with no visible effect ...
>
> METHOD Button3Click( oSender ) CLASS TForm1
> // ::oPanel1:aControls := {} //
> crude
> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
> Logdisplay( len( ::oPanel1:aControls) ) // says
> 'zero'
> ::oPanel1:Refresh()
> // does nothing .... TFormPanel still showing
> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
> // ::oPanel1:update() // does nothing .... TFormPanel still showing
> ::MyFormPanel := NIL //
> good housekeeping
> RETURN Nil
>
> Hopefully the last question on this topic.
>
> Chris
>
> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> That works ... this will be an excellent technique for my applications.
>>
>> Thank you very much.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Crhis,
>>>
>>> METHOD New( oParent ) CLASS TFormPanel
>>>
>>> Super:New( oParent )
>>> ::CreateForm()
>>> ::nLeft := 0
>>> ::nTop := 0
>>> ::OnInitialize()
>>>
>>> RETURN Self
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>> Ignacio,
>>>>
>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>
>>>> I had to rem the select() calls to get it to compile.
>>>>
>>>> Nothing is displayed on my panel using similar vode to you.
>>>>
>>>> If you can spare the time my test program is attached.
>>>>
>>>> Thanks for all your help.
>>>>
>>>> Chris
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Chris,
>>>>>
>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>> class you
>>>>> may need.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Ignacio Ortiz de Zúñiga
>>>>> http://www.xailer.com
>>>>>
>>>>>
>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Hi,
>>>>>>
>>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>>> with
>>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>>> other 'forms' from other .prgs.
>>>>>>
>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>
>>>>>> I am interested in ways to have the same layout main window with an
>>>>>> area
>>>>>> on the right to have different 'forms' visible depending on different
>>>>>> menu
>>>>>> options .... your sample allows this.
>>>>>>
>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>
>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>
>>>>>> I have a lot to learn!
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Chris Gillard
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
Ignacio Ortiz de Zúñiga
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
[OZ Software]
https://www.ozs.es
--
[Equipo de Xailer / Xailer team]
https://www.xailer.com
TFormFolder in DBFData6.prg .... Interesting!
Chris,
oAddedPanel:End()
Regards,
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> Last question please .... if I want to 'clear' the panel of my added
> TFormPanel, so I could assign a different TFormPanel
>
> I am trying the following with no visible effect ...
>
> METHOD Button3Click( oSender ) CLASS TForm1
> // ::oPanel1:aControls := {} //
> crude
> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
> Logdisplay( len( ::oPanel1:aControls) ) // says
> 'zero'
> ::oPanel1:Refresh()
> // does nothing .... TFormPanel still showing
> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
> // ::oPanel1:update() // does nothing .... TFormPanel still showing
> ::MyFormPanel := NIL //
> good housekeeping
> RETURN Nil
>
> Hopefully the last question on this topic.
>
> Chris
>
> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> That works ... this will be an excellent technique for my applications.
>>
>> Thank you very much.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Crhis,
>>>
>>> METHOD New( oParent ) CLASS TFormPanel
>>>
>>> Super:New( oParent )
>>> ::CreateForm()
>>> ::nLeft := 0
>>> ::nTop := 0
>>> ::OnInitialize()
>>>
>>> RETURN Self
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>> Ignacio,
>>>>
>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>
>>>> I had to rem the select() calls to get it to compile.
>>>>
>>>> Nothing is displayed on my panel using similar vode to you.
>>>>
>>>> If you can spare the time my test program is attached.
>>>>
>>>> Thanks for all your help.
>>>>
>>>> Chris
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Chris,
>>>>>
>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>> class you
>>>>> may need.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Ignacio Ortiz de Zúñiga
>>>>> http://www.xailer.com
>>>>>
>>>>>
>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Hi,
>>>>>>
>>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>>> with
>>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>>> other 'forms' from other .prgs.
>>>>>>
>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>
>>>>>> I am interested in ways to have the same layout main window with an
>>>>>> area
>>>>>> on the right to have different 'forms' visible depending on different
>>>>>> menu
>>>>>> options .... your sample allows this.
>>>>>>
>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>
>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>
>>>>>> I have a lot to learn!
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Chris Gillard
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
oAddedPanel:End()
Regards,
"Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
> Ignacio,
>
> Last question please .... if I want to 'clear' the panel of my added
> TFormPanel, so I could assign a different TFormPanel
>
> I am trying the following with no visible effect ...
>
> METHOD Button3Click( oSender ) CLASS TForm1
> // ::oPanel1:aControls := {} //
> crude
> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
> Logdisplay( len( ::oPanel1:aControls) ) // says
> 'zero'
> ::oPanel1:Refresh()
> // does nothing .... TFormPanel still showing
> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
> // ::oPanel1:update() // does nothing .... TFormPanel still showing
> ::MyFormPanel := NIL //
> good housekeeping
> RETURN Nil
>
> Hopefully the last question on this topic.
>
> Chris
>
> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> That works ... this will be an excellent technique for my applications.
>>
>> Thank you very much.
>>
>> Chris
>>
>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Crhis,
>>>
>>> METHOD New( oParent ) CLASS TFormPanel
>>>
>>> Super:New( oParent )
>>> ::CreateForm()
>>> ::nLeft := 0
>>> ::nTop := 0
>>> ::OnInitialize()
>>>
>>> RETURN Self
>>>
>>> Regards,
>>>
>>> --
>>> Ignacio Ortiz de Zúñiga
>>> http://www.xailer.com
>>>
>>>
>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>> Ignacio,
>>>>
>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>
>>>> I had to rem the select() calls to get it to compile.
>>>>
>>>> Nothing is displayed on my panel using similar vode to you.
>>>>
>>>> If you can spare the time my test program is attached.
>>>>
>>>> Thanks for all your help.
>>>>
>>>> Chris
>>>>
>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>> Chris,
>>>>>
>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>> class you
>>>>> may need.
>>>>>
>>>>> Regards,
>>>>>
>>>>> --
>>>>> Ignacio Ortiz de Zúñiga
>>>>> http://www.xailer.com
>>>>>
>>>>>
>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Hi,
>>>>>>
>>>>>> Was interested in how you do the example in DBFData6 ... it is a form
>>>>>> with
>>>>>> an Explorer Bar on the left and a TFolder on the right which displays
>>>>>> other 'forms' from other .prgs.
>>>>>>
>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>
>>>>>> I am interested in ways to have the same layout main window with an
>>>>>> area
>>>>>> on the right to have different 'forms' visible depending on different
>>>>>> menu
>>>>>> options .... your sample allows this.
>>>>>>
>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>
>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>
>>>>>> I have a lot to learn!
>>>>>>
>>>>>> Regards
>>>>>>
>>>>>> Chris Gillard
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
It works ... many thanks.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:[email=4689eba6@ozsrv2.ozlan.local...]4689eba6@ozsrv2.ozlan.local...[/email]
> Chris,
>
> oAddedPanel:End()
>
> Regards,
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> Last question please .... if I want to 'clear' the panel of my added
>> TFormPanel, so I could assign a different TFormPanel
>>
>> I am trying the following with no visible effect ...
>>
>> METHOD Button3Click( oSender ) CLASS TForm1
>> // ::oPanel1:aControls := {} //
>> crude
>> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
>> Logdisplay( len( ::oPanel1:aControls) ) // says
>> 'zero'
>> ::oPanel1:Refresh() // does nothing .... TFormPanel still showing
>> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
>> // ::oPanel1:update() // does nothing .... TFormPanel still showing
>> ::MyFormPanel := NIL //
>> good housekeeping
>> RETURN Nil
>>
>> Hopefully the last question on this topic.
>>
>> Chris
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
>> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> That works ... this will be an excellent technique for my applications.
>>>
>>> Thank you very much.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Crhis,
>>>>
>>>> METHOD New( oParent ) CLASS TFormPanel
>>>>
>>>> Super:New( oParent )
>>>> ::CreateForm()
>>>> ::nLeft := 0
>>>> ::nTop := 0
>>>> ::OnInitialize()
>>>>
>>>> RETURN Self
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>>> Ignacio,
>>>>>
>>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>>
>>>>> I had to rem the select() calls to get it to compile.
>>>>>
>>>>> Nothing is displayed on my panel using similar vode to you.
>>>>>
>>>>> If you can spare the time my test program is attached.
>>>>>
>>>>> Thanks for all your help.
>>>>>
>>>>> Chris
>>>>>
>>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Chris,
>>>>>>
>>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>>> class you
>>>>>> may need.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> --
>>>>>> Ignacio Ortiz de Zúñiga
>>>>>> http://www.xailer.com
>>>>>>
>>>>>>
>>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>>> Hi,
>>>>>>>
>>>>>>> Was interested in how you do the example in DBFData6 ... it is a
>>>>>>> form with
>>>>>>> an Explorer Bar on the left and a TFolder on the right which
>>>>>>> displays
>>>>>>> other 'forms' from other .prgs.
>>>>>>>
>>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>>
>>>>>>> I am interested in ways to have the same layout main window with an
>>>>>>> area
>>>>>>> on the right to have different 'forms' visible depending on
>>>>>>> different menu
>>>>>>> options .... your sample allows this.
>>>>>>>
>>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>>
>>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>>
>>>>>>> I have a lot to learn!
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Chris Gillard
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
It works ... many thanks.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:[email=4689eba6@ozsrv2.ozlan.local...]4689eba6@ozsrv2.ozlan.local...[/email]
> Chris,
>
> oAddedPanel:End()
>
> Regards,
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> Last question please .... if I want to 'clear' the panel of my added
>> TFormPanel, so I could assign a different TFormPanel
>>
>> I am trying the following with no visible effect ...
>>
>> METHOD Button3Click( oSender ) CLASS TForm1
>> // ::oPanel1:aControls := {} //
>> crude
>> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
>> Logdisplay( len( ::oPanel1:aControls) ) // says
>> 'zero'
>> ::oPanel1:Refresh() // does nothing .... TFormPanel still showing
>> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
>> // ::oPanel1:update() // does nothing .... TFormPanel still showing
>> ::MyFormPanel := NIL //
>> good housekeeping
>> RETURN Nil
>>
>> Hopefully the last question on this topic.
>>
>> Chris
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
>> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> That works ... this will be an excellent technique for my applications.
>>>
>>> Thank you very much.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Crhis,
>>>>
>>>> METHOD New( oParent ) CLASS TFormPanel
>>>>
>>>> Super:New( oParent )
>>>> ::CreateForm()
>>>> ::nLeft := 0
>>>> ::nTop := 0
>>>> ::OnInitialize()
>>>>
>>>> RETURN Self
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>>> Ignacio,
>>>>>
>>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>>
>>>>> I had to rem the select() calls to get it to compile.
>>>>>
>>>>> Nothing is displayed on my panel using similar vode to you.
>>>>>
>>>>> If you can spare the time my test program is attached.
>>>>>
>>>>> Thanks for all your help.
>>>>>
>>>>> Chris
>>>>>
>>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Chris,
>>>>>>
>>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>>> class you
>>>>>> may need.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> --
>>>>>> Ignacio Ortiz de Zúñiga
>>>>>> http://www.xailer.com
>>>>>>
>>>>>>
>>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>>> Hi,
>>>>>>>
>>>>>>> Was interested in how you do the example in DBFData6 ... it is a
>>>>>>> form with
>>>>>>> an Explorer Bar on the left and a TFolder on the right which
>>>>>>> displays
>>>>>>> other 'forms' from other .prgs.
>>>>>>>
>>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>>
>>>>>>> I am interested in ways to have the same layout main window with an
>>>>>>> area
>>>>>>> on the right to have different 'forms' visible depending on
>>>>>>> different menu
>>>>>>> options .... your sample allows this.
>>>>>>>
>>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>>
>>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>>
>>>>>>> I have a lot to learn!
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Chris Gillard
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
-
- Mensajes: 384
- Registrado: Mar May 01, 2007 5:49 pm
TFormFolder in DBFData6.prg .... Interesting!
Ignacio,
It works ... many thanks.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:[email=4689eba6@ozsrv2.ozlan.local...]4689eba6@ozsrv2.ozlan.local...[/email]
> Chris,
>
> oAddedPanel:End()
>
> Regards,
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> Last question please .... if I want to 'clear' the panel of my added
>> TFormPanel, so I could assign a different TFormPanel
>>
>> I am trying the following with no visible effect ...
>>
>> METHOD Button3Click( oSender ) CLASS TForm1
>> // ::oPanel1:aControls := {} //
>> crude
>> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
>> Logdisplay( len( ::oPanel1:aControls) ) // says
>> 'zero'
>> ::oPanel1:Refresh() // does nothing .... TFormPanel still showing
>> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
>> // ::oPanel1:update() // does nothing .... TFormPanel still showing
>> ::MyFormPanel := NIL //
>> good housekeeping
>> RETURN Nil
>>
>> Hopefully the last question on this topic.
>>
>> Chris
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
>> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> That works ... this will be an excellent technique for my applications.
>>>
>>> Thank you very much.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Crhis,
>>>>
>>>> METHOD New( oParent ) CLASS TFormPanel
>>>>
>>>> Super:New( oParent )
>>>> ::CreateForm()
>>>> ::nLeft := 0
>>>> ::nTop := 0
>>>> ::OnInitialize()
>>>>
>>>> RETURN Self
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>>> Ignacio,
>>>>>
>>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>>
>>>>> I had to rem the select() calls to get it to compile.
>>>>>
>>>>> Nothing is displayed on my panel using similar vode to you.
>>>>>
>>>>> If you can spare the time my test program is attached.
>>>>>
>>>>> Thanks for all your help.
>>>>>
>>>>> Chris
>>>>>
>>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Chris,
>>>>>>
>>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>>> class you
>>>>>> may need.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> --
>>>>>> Ignacio Ortiz de Zúñiga
>>>>>> http://www.xailer.com
>>>>>>
>>>>>>
>>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>>> Hi,
>>>>>>>
>>>>>>> Was interested in how you do the example in DBFData6 ... it is a
>>>>>>> form with
>>>>>>> an Explorer Bar on the left and a TFolder on the right which
>>>>>>> displays
>>>>>>> other 'forms' from other .prgs.
>>>>>>>
>>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>>
>>>>>>> I am interested in ways to have the same layout main window with an
>>>>>>> area
>>>>>>> on the right to have different 'forms' visible depending on
>>>>>>> different menu
>>>>>>> options .... your sample allows this.
>>>>>>>
>>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>>
>>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>>
>>>>>>> I have a lot to learn!
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Chris Gillard
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
It works ... many thanks.
Chris
"Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
news:[email=4689eba6@ozsrv2.ozlan.local...]4689eba6@ozsrv2.ozlan.local...[/email]
> Chris,
>
> oAddedPanel:End()
>
> Regards,
>
> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
> news:468962a9$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>> Ignacio,
>>
>> Last question please .... if I want to 'clear' the panel of my added
>> TFormPanel, so I could assign a different TFormPanel
>>
>> I am trying the following with no visible effect ...
>>
>> METHOD Button3Click( oSender ) CLASS TForm1
>> // ::oPanel1:aControls := {} //
>> crude
>> ::oPanel1:RemoveControl( ::MyFormPanel ) // preferred ??
>> Logdisplay( len( ::oPanel1:aControls) ) // says
>> 'zero'
>> ::oPanel1:Refresh() // does nothing .... TFormPanel still showing
>> // ::oPanel1:Redraw() // does nothing .... TFormPanel still showing
>> // ::oPanel1:update() // does nothing .... TFormPanel still showing
>> ::MyFormPanel := NIL //
>> good housekeeping
>> RETURN Nil
>>
>> Hopefully the last question on this topic.
>>
>> Chris
>>
>> "Chris Gillard" <chris@bluesquare.co.uk> wrote in message
>> news:4689122a$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>> Ignacio,
>>>
>>> That works ... this will be an excellent technique for my applications.
>>>
>>> Thank you very much.
>>>
>>> Chris
>>>
>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>> news:4689103b$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>> Crhis,
>>>>
>>>> METHOD New( oParent ) CLASS TFormPanel
>>>>
>>>> Super:New( oParent )
>>>> ::CreateForm()
>>>> ::nLeft := 0
>>>> ::nTop := 0
>>>> ::OnInitialize()
>>>>
>>>> RETURN Self
>>>>
>>>> Regards,
>>>>
>>>> --
>>>> Ignacio Ortiz de Zúñiga
>>>> http://www.xailer.com
>>>>
>>>>
>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>> news:[email=46890a96@ozsrv2.ozlan.local...]46890a96@ozsrv2.ozlan.local...[/email]
>>>>> Ignacio,
>>>>>
>>>>> I did a Class TFormPanel FROM XPanel based on your TFormFolder.
>>>>>
>>>>> I had to rem the select() calls to get it to compile.
>>>>>
>>>>> Nothing is displayed on my panel using similar vode to you.
>>>>>
>>>>> If you can spare the time my test program is attached.
>>>>>
>>>>> Thanks for all your help.
>>>>>
>>>>> Chris
>>>>>
>>>>> "Ignacio Ortiz de Zúñiga" <NoName@xailer.com> wrote in message
>>>>> news:4689071e$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>> Chris,
>>>>>>
>>>>>> That's it. Just use TFormFolder as a template for any other alike
>>>>>> class you
>>>>>> may need.
>>>>>>
>>>>>> Regards,
>>>>>>
>>>>>> --
>>>>>> Ignacio Ortiz de Zúñiga
>>>>>> http://www.xailer.com
>>>>>>
>>>>>>
>>>>>> "Chris Gillard" <chris@bluesquare.co.uk> escribió en el mensaje
>>>>>> news:4688f9f2$[email=1@ozsrv2.ozlan.local...]1@ozsrv2.ozlan.local...[/email]
>>>>>>> Hi,
>>>>>>>
>>>>>>> Was interested in how you do the example in DBFData6 ... it is a
>>>>>>> form with
>>>>>>> an Explorer Bar on the left and a TFolder on the right which
>>>>>>> displays
>>>>>>> other 'forms' from other .prgs.
>>>>>>>
>>>>>>> Then I noticed the hand coded CLASS TFormFolder FROM XFolderPage in
>>>>>>> FrmFolder.prg ... this is the secret I think!!
>>>>>>>
>>>>>>> I am interested in ways to have the same layout main window with an
>>>>>>> area
>>>>>>> on the right to have different 'forms' visible depending on
>>>>>>> different menu
>>>>>>> options .... your sample allows this.
>>>>>>>
>>>>>>> If I did not want the 'tabs' is there any other container class like
>>>>>>> TPanel that could do the job showing a 'Form' in it ??
>>>>>>>
>>>>>>> Something like Class TFormPanel FROM XPanel ??
>>>>>>>
>>>>>>> I have a lot to learn!
>>>>>>>
>>>>>>> Regards
>>>>>>>
>>>>>>> Chris Gillard
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>