Gambas Documentation - /comp/gb.form/tableview/editwith

/comp/gb.form/tableview/editwith

# 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.