Repaints the entire control.
| VB.NET | object.Refresh()object.CtlRefresh() |
| VB | object.Refresh |
| C#.NET | void object.Refresh(); void object.CtlRefresh(); |
| VC++ | HRESULT object->Refresh(); |
| C | HRESULT object->raw_Refresh(); |
object
The Refresh method repaints the entire control.
Painting a control is handled automatically while no events are occurring. However, there may be situations where you want the control updated immediately. The Refresh method causes the control to be immediately repainted.
See Also SftButton Object | Object Hierarchy