Gambas Documentation
Documents

TableView.EditWith (gb.form)

Sub EditWith ( Editor As Control )

Edit the current cell with a specific control.

The Editor control is required to have a writable Text public property:
  • It will be written with the old cell value when starting cell editing.

  • It will be read when ending it to get the new cell value.

Moreover, Editor must be a direct child of the same window where the TableView is defined, otherwise the control will not be correctly positioned.

This method must be called during the Click event or it won't work.