Recent

Author Topic: Makeing an MDI application  (Read 16000 times)

marcolnz

  • Newbie
  • Posts: 2
Makeing an MDI application
« on: November 21, 2004, 12:29:20 pm »
:(

Is it possible, with Lazarus, to make an MDI app?
If it is could I have an example?

Thanks

Marco.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2673
Makeing an MDI application
« Reply #1 on: November 22, 2004, 12:05:54 pm »
Not yet.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

monkey789

  • Newbie
  • Posts: 1
Makeing an MDI application
« Reply #2 on: March 03, 2005, 07:28:41 pm »
marcolnz, hola encontraste como hacer una aplicacion MDI si la encontraste por favor podrias decirme?

Lightning

  • Sr. Member
  • ****
  • Posts: 422
Makeing an MDI application
« Reply #3 on: March 15, 2005, 08:27:37 am »
monkey789,  still not possible, if you are running Windows you can always use the simple API and LCL functions to simulate this behaviour by setting the parent of a form to the main form, though it will not be the same as Delphi. If you don't have this knowlege you could try using tabs...
The future must be... Fast and OpenSource so...
Think Open and Lightning Fast!

trofimich

  • Guest
Makeing an MDI application
« Reply #4 on: February 15, 2006, 09:20:51 am »
What's the problem with implementing MDI? Maby GTK doesn't supports MDI ?

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Makeing an MDI application
« Reply #5 on: February 15, 2006, 11:58:27 am »
I think that another thing, Docking, has to be implemented before MDI, and is what is blocking it.

There is a partial solution to created MDI software with Lazarus here: http://wiki.lazarus.freepascal.org/index.php/MultiDoc

Anonymous

  • Guest
Makeing an MDI application
« Reply #6 on: February 15, 2006, 01:36:50 pm »
Hm... It's interesting solution, thanks. But i think that true MDI, frames and form inheritance in designer still very important.

joined

  • Newbie
  • Posts: 3
Makeing an MDI application
« Reply #7 on: February 20, 2006, 05:44:31 pm »
Yes I think so too!

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3538
Makeing an MDI application
« Reply #8 on: February 20, 2006, 07:46:08 pm »
Quote
What's the problem with implementing MDI? Maby GTK doesn't supports MDI ?


Google for "gtk support mdi" without the quotes or "qt support mdi" or "carbon support mdi". The answer for all those will be no, no, no. They don´t support it. I read that gnome has some support, but it´s a very old widget.

Still, I think we must escape the "minimum common denominator" Trap and implement MDI. wxWidgets implements MDI. Yes, only for Window. Those that use true MDI should know it won´t work on other platforms.

If someone can do a research about how to implement MDI forms with Windows API and write about it, that would be nice. Even better if someone sends patches to implement MDI =)

I agree it would be nice to implement this, but it won´t happen unless people help doing it :^)

Anonymous

  • Guest
Makeing an MDI application
« Reply #9 on: May 17, 2006, 03:12:27 pm »
on other platform MDI (in wxWidgets) is implemented via Tabs

RudieD

  • Full Member
  • ***
  • Posts: 234
Makeing an MDI application
« Reply #10 on: May 18, 2006, 07:53:23 pm »
I will be very happy if the Docking is fully implemented. I saw something about Docking in the property editor of the latest snapshot that I have installed. Once that is done, you can manipulate the forms by putting them on pannels. I will test to see if you can now tab to the main form and access the main menu.

Thanks to all that's helping with Lazarus/FPC it's just getting better and better ! If things continue at the current pace, we will have to include a few sleeps in our aps or some screen shots of error screens, just so that the end users can still feel at home (java ...).

One of my friends were playing around with some open source Basic tool kit that translates the basic code to c code and then compiles it. He wrote a small app that opens a large text document and then reformats it. It run's ~ 2:36 mins. I quickly, and I mean "QUICKLY"! wrote the same app in Lazarus and it does it in 2.~ secs. Guess what he is playing with now ???
The FRED Trainer. (Training FRED with Lazarus/FPC)

 

TinyPortal © 2005-2018