Interface

DBKit.SDK.RowActionEditControl

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 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 and DBKit.SDK.RowEventReceiver.

Methods

Name

Parameters

Returns

SetEditButtonCaption

theCaption As String

Method descriptions


DBKit.SDK.RowActionEditControl.SetEditButtonCaption

SetEditButtonCaption(theCaption As 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