Windows Develop Bookmark and Share   
 index > Windows Forms Designer > refresh() method
 

refresh() method

Whye does the refresh method cause the controls on the panel to "shake" and flimmer? 
Anyone have a solution for this?
MigrationUser 1  Wednesday, February 26, 2003 1:01 PM
if you're only wanting to refresh certain controls you might want to call this.ControlName.Invalidate() instead..Refresh() forces a complete repaint of all the controls..and also redraws all child controls which may or may not be want you're wanting to do...for example, also make sure you SuspendLayout() before your Refresh or Invalidate, and ResumeLayout() once you're done.  If you're using tree controls or such make sure you use .Update() and .EndUpdate() ..hope this helps, if not let me know and I'll take a look at the specific problem you're having.
MigrationUser 1  Wednesday, February 26, 2003 2:15 PM
Hmmm...I think the problem only relates to groupboxs. Other controls looks to be ok...
MigrationUser 1  Thursday, February 27, 2003 6:03 AM

You can use google to search for other answers

Custom Search

More Threads

• Is it possible to use threads with Request.Files
• Designer does not generate content code for object value
• DesignSurface with Tabbed format
• ScrollableControl mouse drag
• problems with modifying name property
• custom grid/spread - here is the code and two questions ...
• Toolbar Button Problems...
• Need opinion on solution for creating Clickable labels for Smartphones
• specify default implementation for item interface
• Windows Forms designer is missing