Navigation:  Classes > bBrowser >

bBrowser:EnableCaptionClick()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Enable or disable the ability to click on column captions with the mouse.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:EnableCaptionClick([<lEnable>]) Æ NIL

Arguments

<lEnable>A logical value that indicates whether column captions can be clicked. If this argument is not specified, the value TRUE is used as default and the ability is enabled.
Data type:Logic

Description

The column captions of opened data columns can be clicked or double clicked with the mouse. With this method this ability can be enabled or disabled.

 

If the ability to click on column captions is enabled, then

1.for each click on a column caption the callback method bBrowser:CaptionClick() is called. This method will automatically call a method of the same name in the owner of the browser if such a method exists.
2.for each double click on a column caption the callback method bBrowser:CaptionDoubleClick() is called. This method will automatically call a method of the same name in the owner of the browser if such a method exists.

 

Using the method bBrowser:IsCaptionClickable() the attribute can be queried at any time.

 

After creating a bBrowser control the ability to click on column captions is disabled as default.

 

Important note!
Disabling the ability for clicking a column caption does not have any influence on moving columns with the mouse.

See Also

bBrowser:CaptionClick()

bBrowser:CaptionDoubleClick()

bBrowser:EnableColumnMove()

bBrowser:IsCaptionClickable()

 


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