interface XDeleteListener in module com::sun::star::form::

(Global Index)

[ DEPRECATED ]

Syntax

interface XDeleteListener : com::sun::star::lang::XEventListener ;

Description

This is the listener interface for receiving "approveDelete" and "deleted" events posted by a database form.

"approveDelete" may be used to abort a deletion of the current data record. The events are posted in the following order:
aForm.deleteRecord() -> approveDelete -> "do Delete" -> deleted

Method Summary

approveDelete is invoked when the current record of the database form will be deleted.

deleted is invoked when a database form has finished the delete processing and the data has been successfully deleted from the datasource.

Method Details



approveDelete

Syntax

boolean approveDelete (
com::sun::star::lang::EventObject aEvent );

Description

is invoked when the current record of the database form will be deleted.

See also

XDatabaseForm

deleted

Syntax

void deleted (
com::sun::star::lang::EventObject aEvent );

Description

is invoked when a database form has finished the delete processing and the data has been successfully deleted from the datasource.

See also

XDatabaseForm
Top of Page