devxlogo

Forms without MDI

Forms without MDI

Question:
I want to have a form that does not appear in a MDI (multiple document interface) frame. Can I do this?

Answer:
In Version 2 of Power Objects, you can run the same application with three different ‘looks.’ You change the look of an application with a switch when you run the .PO file.

If you run an application, such as a Windows95 application Sample.PO, with the standard command line

PORUN32.EXE Sample.PO

the application will run with the standard MDI look.

If you run the same application with the -SDI switch, such as

PORUN32.EXE -SDI Sample.PO

the application will appear with a single document interface look.

If you run the same application with the -noframe switch, such as

PORUN32.EXE -noframe Sample.PO

the application will appear without a frame.

Your users can still get access to the menus and push buttons that would appear in the toolbar by clicking the right mouse button.

devx-admin

Share the Post: