Navigation:  Classes > bBrowser >

bBrowser:GetColumnViewValueAs()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Returns the type of view for the values of the specified column.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:GetColumnViewValueAs(<oColumn>) Æ symValueView

Arguments

<oColumn>The column for which the type of view is to be determined.
Data Type:bDataColumn

Return Value

symValueViewThe determined type of view. The table below defines the supported view style:

 

View Style

Description

#Abstract

For each value in the owner of the bBrowser the callback method DrawValue() is called, if this is defined. As argument an event of the class bDrawValueEvent will passed to the method.

#Check

Display as CheckBox without box.

#CheckBox

Display as CheckBox.

#ComboBox

Display as ComboBox.

#ComboEdit

Display as bComboEdit.

#PushButton

Display as PushButton.

 

If the PushButton is pressed during an cell edit, in the owner of the bBrowser the method ButtonClick() is called. In the passed event the symbol name of the column can be determined with the access ControlEvent:NameSym.

#RTF

Display as RTF text.

#Text

Display as Text.

Data Type:Symbol

Description

The view style of the column values is determined by the access bDataColumn:ViewValueAs. If that access returns the value NULL_SYMBOL, the view style is determined dependent on the data type of the column values.

 

If the data type is LOGIC the view style from the access bBrowser:ViewLogicAs is used. Contains that the value NULL_SYMBOL likewise, the values are displayed as text.

 

If the data type is OBJECT the class name of the column values is determined. Objects of the classes Bitmap, Icon and bCompoundValue are displayed directly by the bBrowser. For all other classes in the owner of the bBrowser the callback method DrawValue() is called, if it is defined. As argument an event of the class bDrawValueEvent will passed to the method.

 

For all other data types the values are displayed as text.

See Also

bBrowser:ViewLogicAs

bDataColumn:ViewValueAs

bDrawValueEvent

 


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