Recent

Author Topic: still no MDI support?  (Read 9037 times)

Simmo8

  • New Member
  • *
  • Posts: 42
still no MDI support?
« on: May 29, 2008, 03:22:32 pm »
i seen a post dating as far back as 2004 for MDI support, why is noone working on this? I thought mattius or someone may have completed this, or hopefully for 1.0 release.

anyway i tried setting Form2.Parent:= Form1 but its not the same it doesnt work like mdi and any form that sets it parent to another form always has an inactive captionbar!

also when 1.0 released, is it soon?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
RE: still no MDI support?
« Reply #1 on: May 31, 2008, 10:32:25 pm »
You can follow the status of MDI for each separate widgetset here:

http://wiki.lazarus.freepascal.org/Roadmap#Status_of_features_on_each_widgetset

About it taking long to implement MDI, Lazarus is Free Software and maintained by volunteers. If you are not happy about the current progress in MDI you can implement it yourself and send us a patch, or pay someone to do that. Instructions for becoming a contributor are here:

http://wiki.lazarus.freepascal.org/How_To_Help_Developing_Lazarus

Bart

  • Hero Member
  • *****
  • Posts: 5575
    • Bart en Mariska's Webstek
RE: still no MDI support?
« Reply #2 on: May 31, 2008, 11:46:21 pm »
AFAIK it was decided not to develop MDI because
- it is a Win only thing (so not x-platform)
- in Windows it is abandoned (at least by MS) in favour of SDI, or some sort of tabbed document interface

There is MultiDoc, you can try that out...

Bart

LazaruX

  • Hero Member
  • *****
  • Posts: 597
  • Lazarus original cheetah.The cheetah doesn't cheat
Re: still no MDI support?
« Reply #3 on: August 26, 2009, 09:26:48 pm »
"Ideen muss man haben...."
a German pubblicity says that, it means:
"You gotta have ideas's"

MDI is still not working, as a workaround, I started to make MDI forms my way, before knowing somebody else had my same idea before me (the MultiDoc guys).
At
http://cid-9e546cefeb36518b.skydrive.live.com/browse.aspx/.Public?uc=1
you can download a very simple basic idea of how to implement MDI forms into your applications. This is still a draft, a raw, dirty project, but just to give you the idea.
Insteald of having child forms into a parent form, we substitute the childs with a TPanel. A TPanel inside a TForm. You can then customize the "form" the way you want.
This solution can be cross-platform for every system, but the sample I provide uses the "Windows" library, so it will only complile on Windows.
I hope you like it, as soon as I have updated the file with all I want, I will post here again...

zeljko

  • Hero Member
  • *****
  • Posts: 1770
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: still no MDI support?
« Reply #4 on: November 05, 2011, 02:31:18 pm »
As of today 05.11.2011 MDI support is started in lazarus.
Qt linux, Qt win32 and Qt MacOSX are fully implemented.
MDI for win32 widgetset will be implemented in some reasonable time (I'll give my best), and also after that mdiemulator for gtk2 and carbon.

zeljko

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 12339
  • FPC developer.
Re: still no MDI support?
« Reply #5 on: November 05, 2011, 04:08:22 pm »
As of today 05.11.2011 MDI support is started in lazarus.
Qt linux, Qt win32 and Qt MacOSX are fully implemented.
MDI for win32 widgetset will be implemented in some reasonable time (I'll give my best), and also after that mdiemulator for gtk2 and carbon.


Great!

TurboRascal

  • Hero Member
  • *****
  • Posts: 672
  • "Good sysadmin. Bad programmer."™
Re: still no MDI support?
« Reply #6 on: November 08, 2011, 12:04:43 am »
AFAIK it was decided not to develop MDI because
- it is a Win only thing (so not x-platform)
- in Windows it is abandoned (at least by MS) in favour of SDI, or some sort of tabbed document interface

Because of that, I believe it would be great if such an interface would be implemented in LCL, especially TDI. Those interfaces could be implemented to be similar to MDI, so it would be easier to port older MDI apps, most of which would probably benefit from conversion to SDI or TDI.
Regards, ArNy the Turbo Rascal
-
"The secret is to give them what they need, not what they want." - Scotty, STTNG:Relics

 

TinyPortal © 2005-2018