Navigation:  Classes > bBrowser >

bBrowser:Notify()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Callback method that is called by the linked server, if this changed.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:Notify(

<iNotifyName>,

[<uDescription>]

) Æ uResult

Arguments

<iNotifyName>The notification to the change that arose in the linked server. The following values can occur:

 

Notification

Description

NOTIFYAPPEND

A blank record has been appended to the server; the server is still positioned on this new record, and its values have not been finalized.

NOTIFYCLEARRELATION

A relation was removed or not in the server.

NOTIFYCLOSE

The server intends to close itself.

NOTIFYCOMPLETION

The server has completed some large operation that did not involve repositioning of the server or change to the data (such as reindexing). This gives the browser a chance to update visual indication to the user that some operation has been completed.

 

In this situation, <uDescription> is the name of the method that was just completed, as a symbol.

NOTIFYDELETE

The current record has been deleted, and the server is now positioned according to its rules for how a deletion is handled.

NOTIFYFIELDCHANGE

A field has changed. <uDescription> is the field name as a symbol.

NOTIFYFILECHANGE

The server has executed some method that performs many changes to the data. All the browser's knowledge about the server and its data is potentially obsolete.

NOTIFYGOBOTTOM

The server has moved to its last record.

NOTIFYGOTOP

The server has moved to its first record.

NOTIFYINTENTTOMOVE

The server intends to make a move. Another client may have initiated the move. The movement can be prevented by return of FALSE.

NOTIFYRECORDCHANGE

The record position of the server has changed. <uDescription> might indicate the length of the move (the number of records).

NOTIFYRELATIONCHANGE

The server has been made the child in a relation with another server, or the parent in a relationship has repositioned itself. All information about the server is potentially obsolete.

 

Data type:Integer

 

<uDescription>Additional information for notification. Not to each notification this argument contains further information (see also argument <iNotifyName>).
Data type:Usual

Return Value

uResultThe result of the notification processing.
Data type:Usual

Description

So that the browser can react to changes that were accomplished in the linked server, the server sends away to all registered clients notifications. The browser receives thereby the possibility to these changes to react for example to restore its data.

 

This method serves as distributor to subordinated notification methods that are specialized in individual notifications.

See Also

bBrowser:NotifyAppend()

bBrowser:NotifyDelete()

bBrowser:NotifyFieldChange()

bBrowser:NotifyGoBottom()

bBrowser:NotifyGoTop()

bBrowser:NotifyRecordChange()

bBrowser:Use()

 


Page url: http://www.YOURSERVER.com/index.html?bbrowser_notify.htm