ISBevel.ParentColor

Description

This property is True if the specified bevel inherits the color from its parent control. But there is no visual effect for this type of control.

Syntax

object.ParentColor

Part Attribute Type Description
object Required
The object always implements the ISBevel interface

Return Value

bool

Example

Display ParentColor for the specified bevel.

Dim aBevel
Dim aBevelInfo

Set aBevel = Form.Controls_("Bevel2")

aBevelInfo =_
  "Caption: " & aBevel.Caption & vbNewLine &_
  "TypeName: " & aBevel.TypeName & vbNewLine &_   
  "Parent Color: " & aBevel.ParentColor 
    
Profile.MsgBox(aBevelInfo)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Parent Color cannot be found.

Version information

Added in v7.8.0