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.

Re: MDI problems

Foro público de Xailer en español
Responder
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Re: MDI problems

Mensaje por jfgimenez »

Ingo,
sorry for the delay
> 1. click on the "Buchungsdatei": the sysmenu of the created childwindow is
> covered as I described in my post from yesterday
Fixed! It's a windows bug, that I've fixed at Xailer level. However, I'm now
using the most recent xHarbour binaries, which is not compatible with the
lastest one, and I cannot send you a patch for now.
> 2. then click on the (child) "Datei" >"AfA-Verwaltung" and then on
> "Fenster"
> > "überlappend" and the change between the both childwindows an look at
> > the
> menubar
The problem is that one mdichild's oParent is another mdichild. The oParent
of every mdichild window must be the mdiframe window, not any other kind of
window.
Please, change in KMenu.prg:
// line 34:
MENUITEM "&AfA-Verwaltung" ACTION AbschWin():New(oForm:oParent):Show()
// line 112:
MENUITEM "&Buchungsdatei" ACTION BuchWin():New(oForm:oParent):Show()
Notice the use of oForm:oParent instead of oForm.
--
Regards,
Jose F. Gimenez
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Ingo
Mensajes: 330
Registrado: Mié Jul 05, 2006 3:58 pm

Re: MDI problems

Mensaje por Ingo »

Jose.
thank you very much for helping!
Regards
"Jose F. Gimenez" <jfgimenez@wanadoo.es> schrieb im Newsbeitrag
news:[email=43a16725@ozsrvnegro.ozlan.local...]43a16725@ozsrvnegro.ozlan.local...[/email]
> Ingo,
>
> sorry for the delay
>
>> 1. click on the "Buchungsdatei": the sysmenu of the created childwindow
>> is covered as I described in my post from yesterday
>
> Fixed! It's a windows bug, that I've fixed at Xailer level. However, I'm
> now using the most recent xHarbour binaries, which is not compatible with
> the lastest one, and I cannot send you a patch for now.
>
>
>> 2. then click on the (child) "Datei" >"AfA-Verwaltung" and then on
>> "Fenster"
>> > "überlappend" and the change between the both childwindows an look at
>> > the
>> menubar
>
> The problem is that one mdichild's oParent is another mdichild. The
> oParent of every mdichild window must be the mdiframe window, not any
> other kind of window.
>
> Please, change in KMenu.prg:
> // line 34:
> MENUITEM "&AfA-Verwaltung" ACTION
> AbschWin():New(oForm:oParent):Show()
> // line 112:
> MENUITEM "&Buchungsdatei" ACTION BuchWin():New(oForm:oParent):Show()
>
> Notice the use of oForm:oParent instead of oForm.
>
> --
> Regards,
>
> Jose F. Gimenez
>
Responder