Class

DBKit.UndoButton

DBKit.UndoButton


Description

Allows the user to undo edits to the current row of the database table assigned to it.

Only the members declared by DBKit.UndoButton itself are described here; for the inherited members, see the parent class.

Properties

Name

Type

Read-Only

Shared

TableName

String

Methods

Name

Parameters

Returns

Shared

TableName

String

Events

Name

Parameters

Returns

Error

String

RowChanged

row As DBKit.Row

RowCreated

row As DBKit.Row

RowDeleted

row As DBKit.Row

RowEditing

row As DBKit.Row

RowLoaded

row As DBKit.Row

RowNotSelected

RowSaved

row As DBKit.Row

RowSaving

row As DBKit.Row

RowUndone

row As DBKit.Row

Property descriptions


DBKit.UndoButton.TableName

TableName As String

The name of the database table this control operates on.

Method descriptions


DBKit.UndoButton.TableName

TableName() As String

Returns the name of the database table for this control: the TableName property if set, otherwise the table name of the control's layout.

Event descriptions


DBKit.UndoButton.Error

Error() As String

A DatabaseException occurred when the control attempted to undo changes made to the current row. Return the message to display to the user, or an empty string to display nothing.


DBKit.UndoButton.RowChanged

RowChanged(row As DBKit.Row)

The current row (passed to the event) has been changed.


DBKit.UndoButton.RowCreated

RowCreated(row As DBKit.Row)

A new row (passed to the event) was just created and is now the current row.


DBKit.UndoButton.RowDeleted

RowDeleted(row As DBKit.Row)

The current row (passed to the event) has been deleted.


DBKit.UndoButton.RowEditing

RowEditing(row As DBKit.Row)

The current row (passed to the event) is being edited by the user.


DBKit.UndoButton.RowLoaded

RowLoaded(row As DBKit.Row)

The current row (passed to the event) has been loaded.


DBKit.UndoButton.RowNotSelected

RowNotSelected

There is no row currently selected.


DBKit.UndoButton.RowSaved

RowSaved(row As DBKit.Row)

The current row (passed to the event) has been saved.


DBKit.UndoButton.RowSaving

RowSaving(row As DBKit.Row)

The current row (passed to this event) is about to be saved.


DBKit.UndoButton.RowUndone

RowUndone(row As DBKit.Row)

The changes made to the current row (passed to this event) have been undone.

Compatibility

Project Types

Desktop

Operating Systems

All

See also

DesktopButton parent class; DBKit.Row class.