Forum > Other

Questions: MDI Forms and Support for other Toolsets

(1/1)

chris.gordon-smith:
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:
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:
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:
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:
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)

Navigation

[0] Message Index

Go to full version