PC Review


Reply
Thread Tools Rate Thread

cancel loading process in form load event handler

 
 
Giri
Guest
Posts: n/a
 
      10th Jul 2003
Hi there..You cannot close a form in Load. You can set a
flag and close it in Activate Event of Form

Warm regards,
Giri


>-----Original Message-----
>I need to be able to close the form (or cancel form load
>action,) inside the form's load event handler when the
>form is still loading. I can not use me.Close to do that -

-
> I am getting an error that says something like "can't
>close when creating handle...". Can someone tell me how

to
>do that?
>
>Thanks
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cancel execution of event handler? =?Utf-8?B?Vk1J?= Microsoft ASP .NET 2 27th Dec 2006 05:25 AM
Code in MDI child form Activated event handler causes form to appear as partially visible when loading RJ Microsoft Dot NET Framework Forms 3 2nd Nov 2006 03:58 PM
Validating Event handler doesn't allow Cancel of Form Royce Fickling Microsoft Dot NET Framework 1 14th May 2004 09:09 AM
Re: cancel loading process in form load event handler Jay B. Harlow [MVP - Outlook] Microsoft VB .NET 0 10th Jul 2003 03:03 PM
Re: cancel loading process in form load event handler Stephen Muecke Microsoft VB .NET 0 10th Jul 2003 07:25 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:43 AM.