PC Review


Reply
Thread Tools Rate Thread

Control.Refresh

 
 
baramuse
Guest
Posts: n/a
 
      24th Nov 2004
Hi all,

I was wondering why, when I call the control.refresh() methode, the
control isn't repainted immediatly (as it is described to do)?

thx
 
Reply With Quote
 
 
 
 
Daniel Moth
Guest
Posts: n/a
 
      24th Nov 2004
Control.Refresh just calls Invalidate and Update.
What happens if you place an Application.DoEvents after the call?

Cheers
Daniel
--
http://www.danielmoth.com/Blog/


"baramuse" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Hi all,
>
> I was wondering why, when I call the control.refresh() methode, the
> control isn't repainted immediatly (as it is described to do)?
>
> thx



 
Reply With Quote
 
baramuse
Guest
Posts: n/a
 
      24th Nov 2004
Daniel Moth wrote:
> Control.Refresh just calls Invalidate and Update.
> What happens if you place an Application.DoEvents after the call?
>
> Cheers
> Daniel


same problem....
I have a MessageBox over my form and the region hidden by my messagebox
il repainted when I close it but the rest of the form is still not
repainted (with or without ApplicationEx.DoEvent() or
Application.DoEvents())

 
Reply With Quote
 
baramuse
Guest
Posts: n/a
 
      29th Nov 2004
Daniel Moth wrote:
> Control.Refresh just calls Invalidate and Update.
> What happens if you place an Application.DoEvents after the call?
>
> Cheers
> Daniel

I'm still having this problem... somebody have any suggestion?

thx
 
Reply With Quote
 
Serg Kuryata [MS]
Guest
Posts: n/a
 
      29th Nov 2004
Could you please provide more details about the problem and, if it is
possible, a simple application that reproduces the problem?

Thank you,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Date: Wed, 24 Nov 2004 16:52:23 +0100
| From: baramuse <(E-Mail Removed)>
| User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913)
| X-Accept-Language: en-us, en
| MIME-Version: 1.0
| Subject: Re: Control.Refresh
| References: <#(E-Mail Removed)>
<(E-Mail Removed)>
| In-Reply-To: <(E-Mail Removed)>
| Content-Type: text/plain; charset=ISO-8859-1; format=flowed
| Content-Transfer-Encoding: 7bit
| Message-ID: <#S$(E-Mail Removed)>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: arennes-205-1-4-9.w80-13.abo.wanadoo.fr 80.13.0.9
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP15
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl
microsoft.public.dotnet.framework.compactframework:65787
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Daniel Moth wrote:
| > Control.Refresh just calls Invalidate and Update.
| > What happens if you place an Application.DoEvents after the call?
| >
| > Cheers
| > Daniel
|
| same problem....
| I have a MessageBox over my form and the region hidden by my messagebox
| il repainted when I close it but the rest of the form is still not
| repainted (with or without ApplicationEx.DoEvent() or
| Application.DoEvents())
|
|

 
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
Is Control.Invalidate() the same as Control.Refresh ? active Microsoft VB .NET 2 22nd Jun 2007 10:00 PM
control.Refresh Rod Microsoft Dot NET Framework Forms 0 28th Jun 2005 01:42 PM
Refresh a Control =?Utf-8?B?RGF2ZSBN?= Microsoft Access Forms 4 3rd Apr 2005 12:29 AM
Control.InValidate vs. Control.Refresh()? Claus Konrad Microsoft C# .NET 1 23rd Apr 2004 01:02 AM
refresh control Rubble Microsoft ASP .NET 2 16th Feb 2004 06:47 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:50 AM.