Refresh Method

Forces an immediate repaint of the current object.

object.Refresh()

Client support

   Newlook Smartclient only.

Version Support

Obsolete from Version 11.0 onwards for the ListView control only. Some older solutions may contain instances of this method. Run the compatibility report to identify any use of this method and remove it from your solution.

Use

This method repaints the control . It does not refresh the content of the control or rebind to the source data. It is useful if you have a script which is dynamically adding data to a grid and you wish to repaint the object as it is updating. In this scenario you would add a line of code calling the refresh method to your looping structure.

Arguments

None.

Returns

Returns a Boolean value indicating the success or failure of the action.

Applies To

DataGrid control

ListView control Obsolete for this control.

See Also

RefreshForm method


© 2004-2021 looksoftware. All rights reserved.