Class
DBKit.Button
DBKit.Button
Description
A button that receives all of the DBKit row events.
When placed on a DBKit layout, the button subscribes to the layout's row events and re-raises them (RowChanged, RowCreated, and so on) so you can implement them for the button.
Only the members declared by DBKit.Button itself are described here; for the inherited members, see the parent classes.
Properties
Name |
Type |
Read-Only |
|---|---|---|
Methods
Name |
Parameters |
Returns |
|---|---|---|
Events
Name |
Parameters |
Returns |
|---|---|---|
row As DBKit.Row |
||
row As DBKit.Row |
||
row As DBKit.Row |
||
row As DBKit.Row |
||
row As DBKit.Row |
||
row As DBKit.Row |
||
row As DBKit.Row |
||
row As DBKit.Row |
Property descriptions
DBKit.Button.TableName
TableName As String
The name of the database table this control operates on.
Method descriptions
DBKit.Button.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.Button.Error
Error() As String
A database error has occurred.
Implement this event to display your own error message instead of DBKit's default message. Return the message to display, or return an empty string to display no message at all. If you do not implement this event, DBKit displays a default error message.
DBKit.Button.RowChanged
RowChanged(row As DBKit.Row)
The current row (passed to the event) has been changed.
DBKit.Button.RowCreated
RowCreated(row As DBKit.Row)
A new row (passed to the event) was just created and is now the current row.
DBKit.Button.RowDeleted
RowDeleted(row As DBKit.Row)
The current row (passed to the event) has been deleted.
DBKit.Button.RowEditing
RowEditing(row As DBKit.Row)
The current row (passed to the event) is being edited by the user.
DBKit.Button.RowLoaded
RowLoaded(row As DBKit.Row)
The current row (passed to the event) has been loaded.
DBKit.Button.RowNotSelected
RowNotSelected
There is no row currently selected.
DBKit.Button.RowSaved
RowSaved(row As DBKit.Row)
The current row (passed to the event) has been saved.
DBKit.Button.RowSaving
RowSaving(row As DBKit.Row)
The current row (passed to this event) is about to be saved.
DBKit.Button.RowUndone
RowUndone(row As DBKit.Row)
The changes made to the current row (passed to this event) have been undone.
Compatibility
Project Types |
Desktop, Web |
Operating Systems |
All |
See also
DesktopButton (desktop) and WebButton (web) parent classes; DBKit.Row class.