Class

DBKit.SDK.RowEvent

DBKit.SDK.RowEvent


Description

Represents something that happened to a row. DBKit creates a RowEvent for each row event and passes it to the HandleRowEvent method of every subscribed control and layout. The Type property says what happened, Row is the row it happened to and TableName is the name of that row's table.

Properties

Name

Type

Read-Only

Row

DBKit.Row

TableName

String

Type

DBKit.SDK.RowEvent.Types

Methods

Name

Parameters

Returns

Constructor

theType As DBKit.SDK.RowEvent.Types, theRow As DBKit.Row = Nil, theTableName As String = ""

Property descriptions


DBKit.SDK.RowEvent.Row

Row As DBKit.Row

The row the event is about. It can be Nil for events that are not tied to a particular row.


DBKit.SDK.RowEvent.TableName

TableName As String

The name of the table the row belongs to.


DBKit.SDK.RowEvent.Type

Type As DBKit.SDK.RowEvent.Types

What happened to the row. See the Types table below for the values and their meanings.

Method descriptions


DBKit.SDK.RowEvent.Constructor

Constructor(theType As DBKit.SDK.RowEvent.Types, theRow As DBKit.Row = Nil, theTableName As String = "")

Creates a RowEvent with the given type, row and table name. DBKit creates the events it delivers; a control receives them rather than creating them.

Types

The Type property is a DBKit.SDK.RowEvent.Types value:

Types

Description

Changed

A value in the row changed.

Created

A new row was created.

Deleted

The row was deleted.

Editing

The row entered edit mode.

Loaded

The row was loaded and is now the current row.

NotSelected

The row is no longer the current row.

Saved

The row was saved.

Saving

The row is about to be saved.

Undone

Changes to the row were undone.

Compatibility

Project Types

Desktop, Web

Operating Systems

All