Alex Rivera | Logout

Switch GUI application behavior between SDI and MDI

Asked 2010-01-29T14:30:54.930
14

I currently have an SDI application that is build with Delphi 7, I want the final user to choose the type of interface between SDI and MDI at runtime. my question is how can I change the behavior of the application between SDI and MDI at runtime?

Currently I know a couple of applications build with delphi that allow this: EMS SQL Manager and TOAD.

alt text

thanks in advance.

Edit
Report

1 Answer

2

At runtime set TForm.FormStyle either to fsNormal or fsMDIChild depending on if you want SDI or MDI.

answered 2010-01-29T17:15:28.890

Your Answer