Purpose
A value that indicates whether the caption of the column is highlighted.
Class
Type
Access / Assign
Data Type
Logic
Description
If a column caption is highlighted, then the caption is drawn in a special way in the bBrowser. With the access bBrowserColumn:HighlightStyle or bBrowser:ColumnHighlightStyle can be defined how highlighting is represented.
bBrowser with highlighted caption of column LASTNAME
So that changes at this access are also shown in the browser, the column must be redrawn with the method bBrowser:Redraw(). This is only necessary if the column is inside the visible area of the browser.
Samples
In the sample below a bBrowser is created in which the caption of the column for the field LASTNAME is highlighted.
LOCAL odbsCUSTOMER AS DBServer
LOCAL oBrowser AS bBrowser
LOCAL oColumn AS bDataColumn
// Create and show a bBrowser
odbsCUSTOMER := DBServer{"CUSTOMER"}
oBrowser := bBrowser{oOwner,;
1000,;
Point{0, 0},;
Dimension{300, 250}}
oBrowser:Use(odbsCUSTOMER)
oBrowser:Show()
// Highlight column LASTNAME
oColumn := oBrowser:GetColumn(#LASTNAME)
oColumn:HighlightStyle := bHighlightStyle{Brush{Color{COLORRED}},;
BABR_NORMAL}
oColumn:CaptionHighlighted := TRUE
// Importand!!!
// -> Redraw bBrowser
oBrowser:Redraw()
See Also
bBrowserColumn:FooterHighlighted
Page url: http://www.YOURSERVER.com/index.html?bbrowsercolumn_captionhighlighted.htm