Re: MDI problems
Publicado: Jue Dic 15, 2005 1:52 pm
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
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