ShowMode property


Available for Window and MDIWindow objects.

Read/Write at design time
Read/Write at run time

Specifies the mode in which the window object will be shown for the first time after being created. It can be one of the following values:

0 ecNormal Window is shown normally (default)
1 ecMinimized Window is shown minimized
2 ecMaximized Window is shown maximized


REMARKS: DialogBox objects are always shown normally. If you want to show them maximized or minimized, use the ShowWindow API function.