PC Forms: Run Minimized Property Doesn't Function in E-formLast reviewed: October 25, 1994Article ID: Q114028 |
The information in this article applies to:
SYMPTOMSIf you select Run Minimized in the Properties dialog box (choose Properties from the Program Manager File menu) for an electronic form (E-form) created with version 1.0 of Microsoft Electronic Forms Designer, the form opens as a full-screen window when you start it.
CAUSEWhen you create an executable file in Visual Basic, you can set the startup form by choosing Project from the Options menu. The two sample forms and the generic template form included with Electronic Forms Designer use a subroutine for the startup form, rather than an actual Visual Basic form. Because E-forms are loaded using the Show method from this subroutine, the Run Minimized property is ignored. To run an E-form minimized, you must add additional code to the EFORM.BAS file.
RESOLUTIONTo run an E-form minimized, modify the ParseCommandLine function defined in the EFORM.BAS file. To do this, use the following procedure:
NOTE: Making this code modification will load the form minimized regardless of how it is started in Windows.
|
Additional reference words: 1.00 minimize
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |