hk_dsvisible

This is the base class for visible widgets which do not need access to the data, but do have to know whether or not a datasource is enabled and which row is the actual one.

Inherits from hk_visible.

set_datasource(datasource)

Sets the datasource object of type hk_datasource.

datasource()

return the datasource object of type hk_datasource.

set_presentationdatasource(number [,registerchange])

presentation objects (either a form or a report) administer all datasources themselves. Datasources then can be identified by a unique number. If this visible object is part of a presentation object, you can set this number with this function

presentationdatasource()

returns the number of the used presentation datasource, or -1 if none is set.