Recent

Author Topic: Questions: MDI Forms and Support for other Toolsets  (Read 6208 times)

chris.gordon-smith

  • New Member
  • *
  • Posts: 12
    • http://graffiti.virgin.net/c.gordon-smith/index.html
Questions: MDI Forms and Support for other Toolsets
« on: March 07, 2004, 09:00:19 pm »
I have recently started porting an existing project to Lazarus.

So far I like it, but I have a couple of questions.

1)  I have so far been unable to get MDI forms working. I'm using the gtk toolset on Linux. Am I doing something wrong, or are they not supported?

2)  Are the other Linux toolsets (eg gtk2)  shown on the Compiler Options screen supported?

Chris Gordon-Smith
London
Homepage: http://graffiti.virgin.net/c.gordon-smith/
Email Address: Please see my Home Page

Anonymous

  • Guest
Questions: MDI Forms and Support for other Toolsets
« Reply #1 on: May 23, 2004, 10:09:34 am »
I'd like to agree with this question. I cannot get MDI to work, either. :(

I suppose the answer to MDI under Linux is tabs, but I was hoping I'd be able to use an MDI interface instead. *sigh* When I create a new MDI child, it seems to create a whole new window outside the parent container.

procedure TmainForm.mainFormShow(Sender: TObject);
var
   child : Tmud_win;
begin
     child := Tmud_win.Create(Application);
     child.show();
end;


I even tried to Create(mainForm), that didn't help, either :(

chris.gordon-smith

  • New Member
  • *
  • Posts: 12
    • http://graffiti.virgin.net/c.gordon-smith/index.html
Questions: MDI Forms and Support for other Toolsets
« Reply #2 on: May 23, 2004, 06:17:09 pm »
I'm also using tabs instead, but it would be nice to be able to reproduce the original VCL functionality.

Chris Gordon-Smith
London
Homepage: http://graffiti.virgin.net/c.gordon-smith/
Email Address: Please see my Home Page

Anonymous

  • Guest
Questions: MDI Forms and Support for other Toolsets
« Reply #3 on: May 23, 2004, 09:15:12 pm »
This is a longshot but you could make use of wine libs to get windows MDI functionality under linux. Not sure how it fit in with lazarus (maybe a new interface for wine?). Would need researching and be a fair amount of work if you are interested enough.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
Questions: MDI Forms and Support for other Toolsets
« Reply #4 on: May 25, 2004, 12:50:26 pm »
I don't think that the way with wine ever will work.

MDI is not nativly supported on GTK(2) so if it ever will be suported, it will require some hack (maybe, if I'm doing the rewrite for WSForm, I might add MDI)
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018