PC Review


Reply
Thread Tools Rate Thread

How to disable the Windows form?

 
 
Joe
Guest
Posts: n/a
 
      20th Aug 2003
Dear Friends,
How to disable the Windows form?
In VB6.0 Form1.Visiable = false; is there equivalent in VC# if so, how do to
this? I need continuously running the form.

Thanks,
Joe


 
Reply With Quote
 
 
 
 
Joe
Guest
Posts: n/a
 
      20th Aug 2003
Thanks for your clarification.I want hide the form through C#.


"Herfried K. Wagner [MVP]" <(E-Mail Removed)> wrote in message
news:#9#(E-Mail Removed)...
> Hello,
>
> "Joe" <(E-Mail Removed)> schrieb:
> > How to disable the Windows form?
> > In VB6.0 Form1.Visiable = false; is there equivalent in VC# if so, how

do
> to
> > this? I need continuously running the form.

>
> Do you want to disable or hide the form?
>
> Regards,
> Herfried K. Wagner
> --
> MVP · VB Classic, VB .NET
> http://www.mvps.org/dotnet
>
>



 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      20th Aug 2003
Hello,

"Joe" <(E-Mail Removed)> schrieb:
> Thanks for your clarification.I want hide the form through C#.


Assuming myform contains a reference to the form instance, you can use
"myform.Hide()" or "myform.Visible = false" to hide the form.

Regards,
Herfried K. Wagner
--
MVP · VB Classic, VB .NET
http://www.mvps.org/dotnet


 
Reply With Quote
 
Joe
Guest
Posts: n/a
 
      20th Aug 2003
Yes... this.hide() is there but would't hide the form.

Thanks,
joe
"Herfried K. Wagner [MVP]" <(E-Mail Removed)> wrote in message
news:e$(E-Mail Removed)...
> Hello,
>
> "Joe" <(E-Mail Removed)> schrieb:
> > Thanks for your clarification.I want hide the form through C#.

>
> Assuming myform contains a reference to the form instance, you can use
> "myform.Hide()" or "myform.Visible = false" to hide the form.
>
> Regards,
> Herfried K. Wagner
> --
> MVP · VB Classic, VB .NET
> http://www.mvps.org/dotnet
>
>



 
Reply With Quote
 
Jacky Kwok
Guest
Posts: n/a
 
      21st Aug 2003
Joe wrote:
> Yes... this.hide() is there but would't hide the form.
>


Where you put the Hide()?
Hide() will hide the form but if you pass the hidden form to
"Application.Run(...)".
The form will be shown again.



--
Jacky Kwok
(E-Mail Removed)
(E-Mail Removed)

 
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
Checkbox on one form disable button on another form datahead22 Microsoft Access Form Coding 2 4th May 2006 06:59 PM
Attempting to disable all user functionality in a form except for form entry mikesrowe@gmail.com Microsoft Word Document Management 1 6th Feb 2006 03:37 PM
Disable/Enable form controls from another form within the same DB. =?Utf-8?B?TGVvbmFyZCBQZWFjb2Nr?= Microsoft Access Forms 2 17th Jan 2005 12:01 AM
Re: disable form close, retain form min and max Herfried K. Wagner [MVP] Microsoft VB .NET 4 21st Jul 2004 12:59 AM
Re: How to disable resize of windows form richlm Microsoft Dot NET 0 9th Mar 2004 08:33 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:19 PM.