Log in

View Full Version : Unload a form


AngelPR
03-05-2003, 03:18 PM
Hi everybody;

How can i unload a form like in VB6.00

Example: unload formname

I tried this in eVB but not work. Does any body know how to do this in eVB.

Cary
03-05-2003, 07:00 PM
Are you looking to end your application or to unload just one of many forms?

AngelPR
03-05-2003, 08:24 PM
Are you looking to end your application or to unload just one of many forms?

Just unload a form not ending it. In that case the command will be app.end


Thanks

EvilOne
03-06-2003, 03:04 AM
Short answer ... NO it is not supported..

Long answer (found in online help for embedded tools, searched on unload form)

eMbedded Visual Basic 3.0
Interface Styles

Windows CE supports a single-document interface (SDI). Only one document may be open; to switch to another document, you must close the first before opening the second. Windows CE also supports the Show and Hide methods for forms; however, it does not support the Unload statement or event, which means that memory is at a premium. For best results and maximum efficiency, streamline applications for Windows CE-based devices to as few forms as possible.

If necessary, there are several ways to make your application appear as though made up of several separate forms while using a single form. You may use a TabStrip control to group tasks, or you may use multiple frames within a form, incorporating "Back" and "Next" buttons to change the frame currently in view.

AngelPR
03-06-2003, 01:11 PM
Short answer ... NO it is not supported..

Long answer (found in online help for embedded tools, searched on unload form)

eMbedded Visual Basic 3.0
Interface Styles

Windows CE supports a single-document interface (SDI). Only one document may be open; to switch to another document, you must close the first before opening the second. Windows CE also supports the Show and Hide methods for forms; however, it does not support the Unload statement or event, which means that memory is at a premium. For best results and maximum efficiency, streamline applications for Windows CE-based devices to as few forms as possible.

If necessary, there are several ways to make your application appear as though made up of several separate forms while using a single form. You may use a TabStrip control to group tasks, or you may use multiple frames within a form, incorporating "Back" and "Next" buttons to change the frame currently in view.


Thanks