I provided a patch now. Hope all is ok because this is my first time to work in the community.
Now that I have built a testing-program (depending on built-in MDI methods or using a patched customform.inc) to check all the possibilities i can think of, it shows that inside the main/MDI form there are problems to get the correct zOrder. Therefore the function activeMDIChild does not work correctly. ( In my old Delphi-program i used MDIForm outside the main Form)
 
Herwig
 
Gesendet: Sonntag, 26. Oktober 2014 um 08:18 Uhr
Von: zeljko <[email protected]>
An: "Lazarus mailing list" <[email protected]>
Betreff: Re: [Lazarus] MDI - working implementation !?
On 10/26/2014 02:57 AM, Kostas Michalopoulos wrote:
> Very interesting, i was actually looking into implementing MDI (for
> Windows... AFAIK the Qt backend already has MDI support).
>
> Although from a quick look at the code, it doesn't seem to do that, does
> it? It looks like it only checks the form type, but still the forms are
> top level, not under an MDI client window inside the main/MDI form.

That's why I said to Herwig to provide patch. Let we see what it does.
But IMO, win32 need ws implementation, part where mdiarea must be
created and also mdichild handle.

zeljko

>
> On Sat, Oct 25, 2014 at 10:25 AM, zeljko <[email protected]
> <mailto:[email protected]>> wrote:
>
> On 10/24/2014 02:03 PM, Herwig Niemeyer wrote:
>
> On transcribing an old Delphi-Program to a Lazarus-program i was
> in need
> do have working MDI-functions.
> I tried to implement them in customform.inc and they work fine
> with my
> program and in my environment.
> There are still some problematic spots in the code and i would
> appreciate comments/solutions for them.
> regards
>
>
> Please, learn howto make patch, open an issue about it at lazarus
> bug tracker and attach patch.
> I'll commit it after review. btw. what is your environment ?
> widgetset ? OS ?
>
> zeljko
>
>
> --
> _________________________________________________
> Lazarus mailing list
> [email protected].__freepascal.org
> <mailto:[email protected]>
> http://lists.lazarus.__freepascal.org/mailman/__listinfo/lazarus
> <http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus>
>
>
>
>
> --
> _______________________________________________
> Lazarus mailing list
> [email protected]
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to