Página 1 de 1

Splitter not work (bug)

Publicado: Jue Ago 10, 2006 6:34 pm
por Srdjan

Attached files Splitters.zip (8.4 KB)Â

Splitter not work (bug)

Publicado: Jue Ago 10, 2006 10:40 pm
por jfgimenez
Srdjan,
I'll review it next weekend; I'm going to stop working today, and I'll do a
trip tomorrow.
--
Regards,
Jose F. Gimenez
http://www.xailer.com

Splitter not work (bug)

Publicado: Jue Ago 10, 2006 10:43 pm
por Srdjan
No problem Jose :)
I must ended my program to 20th November and I go to Buenos Aires over
Madrid :)
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44db99ca$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Srdjan,
>
> I'll review it next weekend; I'm going to stop working today, and I'll do
a
> trip tomorrow.
>
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>

Splitter not work (bug)

Publicado: Vie Ago 11, 2006 8:15 am
por Ingo
Srdjan,
I took a look at your test sample. Splitter works perfectly. The problems
are the controls you put on the mdiframe.
If you show the mdichild (Form2) this form will be overlapped by the panels
of the mdiframe (form1). That is the typical behaviour of
Mdiframes/mdiclients.
I changed your sample to demonstrate that. If the visibility of panel2 of
form2 is set to .F. you will see the mdichild. Take a look at the attached
sample.
Regards
Ingo


Attached files test.zip (2.3 KB)Â

Splitter not work (bug)

Publicado: Jue Ago 17, 2006 1:30 pm
por jfgimenez
Srdjan,
sorry for the long delay.
Ingo is completely right, the problem is not the splitters, but the panel2.
The mdi frame windows creates a child control (oMdiClient) which holds every
mdi child, and this oMdiClient is aligned to alClient. But if you place
another window aligned to alClient, then oMdiClient can't be shown (well,
the truth is that it remains 0 pixels width by 0 pixels height).
Just remove the panel2 and you'll see it working fine.
--
Regards,
Jose F. Gimenez
http://www.xailer.com

Splitter not work (bug)

Publicado: Jue Ago 17, 2006 9:16 pm
por Srdjan
Thank you I see. Thank you for Ingo :)
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44e45360$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Srdjan,
>
> sorry for the long delay.
>
> Ingo is completely right, the problem is not the splitters, but the
panel2.
> The mdi frame windows creates a child control (oMdiClient) which holds
every
> mdi child, and this oMdiClient is aligned to alClient. But if you place
> another window aligned to alClient, then oMdiClient can't be shown (well,
> the truth is that it remains 0 pixels width by 0 pixels height).
>
> Just remove the panel2 and you'll see it working fine.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>

Splitter not work (bug)

Publicado: Jue Ago 17, 2006 9:30 pm
por Srdjan
Which event I use when splitter move up-down ?
"Srdjan Dragojlovic" <digikv@yahoo.com> wrote in message
news:[email=44e4c09c@news.xailer.com...]44e4c09c@news.xailer.com...[/email]
> Thank you I see. Thank you for Ingo :)
>
> "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
> news:44e45360$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> > Srdjan,
> >
> > sorry for the long delay.
> >
> > Ingo is completely right, the problem is not the splitters, but the
> panel2.
> > The mdi frame windows creates a child control (oMdiClient) which holds
> every
> > mdi child, and this oMdiClient is aligned to alClient. But if you place
> > another window aligned to alClient, then oMdiClient can't be shown
(well,
> > the truth is that it remains 0 pixels width by 0 pixels height).
> >
> > Just remove the panel2 and you'll see it working fine.
> >
> > --
> > Regards,
> >
> > Jose F. Gimenez
> > http://www.xailer.com
> >
> >
>
>

Splitter not work (bug)

Publicado: Dom Ago 20, 2006 7:36 am
por Srdjan
Why this event not fire when I move splitter ? I think when I move splitter
automatically change size of panels.
METHOD ChangeSizePanel( oSender ) CLASS TDMS
LOCAL l := CadCWReSize( 0, 0, ::oPanel1:nWidth, ::oPanel1:nHeight )
RETURN Nil
"Srdjan Dragojlovic" <digikv@yahoo.com> wrote in message
news:[email=44e4c3bf@news.xailer.com...]44e4c3bf@news.xailer.com...[/email]
> Which event I use when splitter move up-down ?
>
> "Srdjan Dragojlovic" <digikv@yahoo.com> wrote in message
> news:[email=44e4c09c@news.xailer.com...]44e4c09c@news.xailer.com...[/email]
> > Thank you I see. Thank you for Ingo :)
> >
> > "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
> > news:44e45360$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> > > Srdjan,
> > >
> > > sorry for the long delay.
> > >
> > > Ingo is completely right, the problem is not the splitters, but the
> > panel2.
> > > The mdi frame windows creates a child control (oMdiClient) which holds
> > every
> > > mdi child, and this oMdiClient is aligned to alClient. But if you
place
> > > another window aligned to alClient, then oMdiClient can't be shown
> (well,
> > > the truth is that it remains 0 pixels width by 0 pixels height).
> > >
> > > Just remove the panel2 and you'll see it working fine.
> > >
> > > --
> > > Regards,
> > >
> > > Jose F. Gimenez
> > > http://www.xailer.com
> > >
> > >
> >
> >
>
>

Splitter not work (bug)

Publicado: Dom Ago 20, 2006 9:31 am
por Ingo
When you move splitter the OnMove event of splitter is fired. Why you don't
use this?
"Srdjan Dragojlovic" <digikv@yahoo.com> schrieb im Newsbeitrag
news:44e7f4e7$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Why this event not fire when I move splitter ? I think when I move
> splitter
> automatically change size of panels.
>
> METHOD ChangeSizePanel( oSender ) CLASS TDMS
> LOCAL l := CadCWReSize( 0, 0, ::oPanel1:nWidth, ::oPanel1:nHeight )
> RETURN Nil
>
>
> "Srdjan Dragojlovic" <digikv@yahoo.com> wrote in message
> news:[email=44e4c3bf@news.xailer.com...]44e4c3bf@news.xailer.com...[/email]
>> Which event I use when splitter move up-down ?
>>
>> "Srdjan Dragojlovic" <digikv@yahoo.com> wrote in message
>> news:[email=44e4c09c@news.xailer.com...]44e4c09c@news.xailer.com...[/email]
>> > Thank you I see. Thank you for Ingo :)
>> >
>> > "Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
>> > news:44e45360$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
>> > > Srdjan,
>> > >
>> > > sorry for the long delay.
>> > >
>> > > Ingo is completely right, the problem is not the splitters, but the
>> > panel2.
>> > > The mdi frame windows creates a child control (oMdiClient) which
>> > > holds
>> > every
>> > > mdi child, and this oMdiClient is aligned to alClient. But if you
> place
>> > > another window aligned to alClient, then oMdiClient can't be shown
>> (well,
>> > > the truth is that it remains 0 pixels width by 0 pixels height).
>> > >
>> > > Just remove the panel2 and you'll see it working fine.
>> > >
>> > > --
>> > > Regards,
>> > >
>> > > Jose F. Gimenez
>> > > http://www.xailer.com
>> > >
>> > >
>> >
>> >
>>
>>
>
>

Splitter not work (bug)

Publicado: Jue Ago 24, 2006 6:23 pm
por jfgimenez
Srdjan,
> Why this event not fire when I move splitter ? I think when I move
> splitter
> automatically change size of panels.
>
> METHOD ChangeSizePanel( oSender ) CLASS TDMS
> LOCAL l := CadCWReSize( 0, 0, ::oPanel1:nWidth, ::oPanel1:nHeight )
> RETURN Nil
There is no OnChangeSize event for TPanel. As Ingo said, you may use the
splitter's OnMove event.
--
Regards,
Jose F. Gimenez
http://www.xailer.com

Splitter not work (bug)

Publicado: Jue Ago 24, 2006 8:58 pm
por Srdjan
OK
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=44edd26b@news.xailer.com...]44edd26b@news.xailer.com...[/email]
> Srdjan,
>
> > Why this event not fire when I move splitter ? I think when I move
> > splitter
> > automatically change size of panels.
> >
> > METHOD ChangeSizePanel( oSender ) CLASS TDMS
> > LOCAL l := CadCWReSize( 0, 0, ::oPanel1:nWidth, ::oPanel1:nHeight )
> > RETURN Nil
>
> There is no OnChangeSize event for TPanel. As Ingo said, you may use the
> splitter's OnMove event.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>