Navigation:  Classes > bBrowser >

bBrowser:EditClose()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Closes the input in a data cell and saves the changed value.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:EditClose() Æ lSuccess

Return Value

lSuccessA logical value that indicates whether the input was closed or not.
TRUEThe input was closed or not.
FALSEThe input could not be closed.
Data Type:Logic

Description

Before the input is closed, the browser calls the method bBrowser:CellEdit() with the EditMode BEDIT_END. The method checks whether a method with the same name is defined in the owner of the browser and calls this if exist. With this method the owner can decide now whether the input may be closed or whether it is to be continued. If the method returns the value FALSE the input is not closed.

 

If the input was closed, the browser calls the method bBrowser:CellEdit() again with the EditMode

BEDIT_COMMIT
if the edit value were saved.

BEDIT_HIDE
in order to hide the edit control.

See Also

bBrowser:CellEdit()

bBrowser:Edit()

bBrowser:EditCancel()

 


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