databasecontrol

Inherits

 

Inherited By

buttonfield, diefield, formattedtextfield, imagecontrol, numberfield, stringfield, tokenfield, windowreferencefield

Context

windowinstance

This object is a virtual class and is never directly created. It is inherited by window controls that have their data bound to a node in the campaign database.

The node has a type defined by the inheriting control, and has, by default, the same name as the inheriting control. The node is created as a child of the containing window's data source. Controls based on databasecontrol should not be used in windows with no data source.

Interface

getDatabaseNode

function getDatabaseNode()

Retrieve the database node containing the data for the control. The type and contents of the node vary by implementing object.

Note: Developers should prefer the getValue function for the control when possible, in order to minimize memory usage for database script objects.

Return values

(databasenode)
databasenode reference