Interface

# DBKit.SDK.RowActionEditControl

<div class="rst-class">

forsearch

</div>

DBKit.SDK.RowActionEditControl

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

## Description

Implemented by the button that switches a row in and out of edit mode, such as the built-in EditButton. It extends `DBKit.SDK.RowActionControl</api/databases/dbkit/sdk/rowactioncontrol>` with the one thing that sets the edit button apart from the other action controls: DBKit tells it what its caption should be as the state of the row changes.

A control implementing this interface must also implement every method of RowActionControl, `DBKit.SDK.RowBase</api/databases/dbkit/sdk/rowbase>` and `DBKit.SDK.RowEventReceiver</api/databases/dbkit/sdk/roweventreceiver>`.

## `Methods</getting_started/using_the_xojo_language/methods>`

<div class="rst-class">

methods-table

</div>

| Name                                                                        | Parameters                                     | Returns |
|-----------------------------------------------------------------------------|------------------------------------------------|---------|
| `SetEditButtonCaption<dbkit.sdk.rowactioneditcontrol.seteditbuttoncaption>` | theCaption As `String</api/data_types/string>` |         |

## Method descriptions

<div id="dbkit.sdk.rowactioneditcontrol.seteditbuttoncaption">

---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

</div>

<div class="rst-class">

forsearch

</div>

DBKit.SDK.RowActionEditControl.SetEditButtonCaption

**SetEditButtonCaption**(theCaption As `String</api/data_types/string>`)

> Called by DBKit with the caption the button should now display. The caption changes with the state of the row: for example Edit when the row is not being edited and Done while it is.

## Notes

The methods an interface requires can be implemented as Private. DBKit works with the control through the interface, so the methods do not need to be public on the control class itself.

## Compatibility

|                       |              |
|-----------------------|--------------|
| **Project Types**     | Desktop, Web |
| **Operating Systems** | All          |

<div id="dbkit.sdk.rowactioneditcontrol.seealso">

<div class="seealso">

`DBKit SDK</api/databases/dbkit/sdk>` overview, `DBKit.SDK.RowActionControl</api/databases/dbkit/sdk/rowactioncontrol>`.

</div>

</div>
