DIAdem Help

Method: Refresh for ChnCtrl

  • Updated2024-09-12
  • 2 minute(s) read

Method: Refresh for ChnCtrl

Triggers the EventRefresh event in user dialog boxes. You can use this method to refresh the ChnCtrl control, when another control changes the data of this control.

Object.Refresh
ObjectChnCtrl
Object with this method

The following example triggers the EventChange event for the channel entry field ChnCtrl1 event for the channel entry field when the ComboBox1 changes:

Sub ChnCtrl1_EventChange(ByRef This)
  'Do something
End Sub
Sub ComboBox1_EventChange(ByRef This)
  Call ChnCtrl1.RunChange
End Sub