Purpose
Examines whether Visual Styles (XP Designs) are enabled for a certain area.
Class
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
lEnabled | A logical value that defines whether Visual Styles are enabled in the area. |
TRUE | The Visual Styles are supported. |
FALSE | The Visual Styles are not supported. |
Data Type: | Logic |
Description
bBrowser:IsThemePartEnabled() examined whether Visual Styles are enabled for a certain area in a bBrowser.
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
Page url: http://www.YOURSERVER.com/index.html?bbrowser_isthemepartenabled.htm