DIAdem Help

Content Type
Programming Language
Current manual
Table of Contents

Method: Refresh for XTable

Method: Refresh for XTable

Triggers the EventRefresh event for the XTable control in user dialog boxes. With the Refresh method you can refresh a control after another control modifies the data of the first control.

Object.Refresh
ObjectXTable
Object with this method
Note  When the extended table refreshes, the EventValGet event triggers for all visible cells.
Note  After this method is called in an event, do not trigger a command that uses a dialog box, such as MsgBox, because then DIAdem cannot execute the Refresh method correctly.

The following example triggers the event EventRefresh after the Button1 button is clicked for the XTable1 extended table:

Sub Button1_EventClick(ByRef This)
  XTable1.RowCount = 5
  Call XTable1.Refresh
End Sub
Was this information helpful?