DIAdem Help

Method: RunColCtrlPreset for XTable

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

Method: RunColCtrlPreset for XTable

Triggers the EventColCtrlPreSet() event for the XTable control in user dialog boxes. You can use this event to configure the controls that are assigned to the columns of an extended table and that are not <Default> type.

Object.RunColCtrlPreset(Column)
ObjectXTable
Object with this method
ColumnLongInteger
Specifies the column for which the result triggers.
The entry -1 triggers the result for all columns.

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

Sub XTable1_EventColCtrlPreSet(ByRef This, Col, ByRef Cell, IsInputCell)
  'Do something
End Sub

Sub Button1_EventClick(ByRef This)
   Call XTable1.RunColCtrlPreSet(-1)
End Sub