Recent

Author Topic: mdi equivalent  (Read 3261 times)

petrusvb

  • Newbie
  • Posts: 3
mdi equivalent
« on: November 30, 2015, 12:57:36 pm »
Hi

I have not used Delphi for quiet a while and this is my first usage of Lazarus. I am busy converting an application from Delphi that used MDI Forms. I find that MDIChild will go behind the main form and by doing further investigation I discovered that Lazarus don't used MDI as Delphi and the suggestion is not to use MDI.

My challenge is I need to understand what I can use in place of MDI, but will give the same feeling as MDI.

Thanks

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: mdi equivalent
« Reply #1 on: November 30, 2015, 01:14:30 pm »
Use Qt widgeset, it does have full support for MDI.

petrusvb

  • Newbie
  • Posts: 3
Re: mdi equivalent
« Reply #2 on: November 30, 2015, 01:26:27 pm »
Where do I get hold of Qt widgeset?

Will it work on Windows?

Are there examples?

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: mdi equivalent
« Reply #3 on: November 30, 2015, 02:31:17 pm »
Where do I get hold of Qt widgeset?

The QT widgets are part of Lazarus installation, you just need to install the QT 4.x files

Will it work on Windows?

Yes, it will work on every OS which Lazarus runs on and which is supported by QT.

Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

petrusvb

  • Newbie
  • Posts: 3
Re: mdi equivalent
« Reply #4 on: November 30, 2015, 02:34:30 pm »
Thank you for your help.

I am just lost on how to install this and use it. Struggle to get information form the web.

Groffy

  • Full Member
  • ***
  • Posts: 204
Re: mdi equivalent
« Reply #5 on: November 30, 2015, 02:44:58 pm »
I am just lost on how to install this and use it. Struggle to get information form the web.

Reading

http://wiki.freepascal.org/Qt_Interface

is a good start :-)
Linux Mint / Windows 10 / Lazarus 3.0.0 / trunk -qt

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11446
  • FPC developer.
Re: mdi equivalent
« Reply #6 on: November 30, 2015, 03:21:13 pm »
Afaik it should work with windows widgetset too?

Cyrax

  • Hero Member
  • *****
  • Posts: 836
Re: mdi equivalent
« Reply #7 on: December 01, 2015, 05:12:52 am »
Nope. There is no support for it in Win32 widgeset yet.

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: mdi equivalent
« Reply #8 on: December 01, 2015, 09:12:29 am »
Afaik it should work with windows widgetset too?

Not implemented yet :(

 

TinyPortal © 2005-2018