Navigation:  Classes > bBrowser >

bBrowser:IsThemePartEnabled()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Examines whether Visual Styles (XP Designs) are enabled for a certain area.

Class

bBrowser

Type

Method

Syntax

<oBrowser>:IsThemePartEnabled(

<iPart>,

<lThemeSupport>

) Æ lEnabled

Arguments

<iPart>The area for that the support of the Visual Styles is to be determined. The values below are supported:

 

Constant

Area

BVSTP_CAPTION

Column Caption

BVSTP_DATA

Column Data

BVSTP_FOOTER

Column Footer

BVSTP_GRID

Grid in Data Area

BVSTP_INFO

Info Value

BVSTP_SELECTOR

Selector

BVSTP_TITLE

Title

 

Data type:DWord

 

<lThemeSupport>A logical value that defines whether support for Visual styles by the operating system or the application is to be checked as well. For FALSE it only is checked whether Visual Styles are enabled for the specified area. For TRUE it also checks whether Visual Styles are supported.
Data type:Logic

Return Value

lEnabledA logical value that defines whether Visual Styles are enabled in the area.
TRUEThe Visual Styles are supported.
FALSEThe Visual Styles are not supported.
Data type:Logic

Description

bBrowser:IsThemePartEnabled() examined whether Visual Styles are enabled for a certain area in a bBrowser.

 

bBrowser_ThemePart

 

The supported areas for which the Visual Styles can be enabled or disabled.

 

With the method bBrowser:EnableThemePart(), Visual Styles can be enabled or disabled for specific areas in a bBrowser.

See Also

bBrowser:EnableThemePart()

 


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