GefButtonFormat.FaceColor (read-only property)

Gets the color format for the face of the button.
Syntax: Set GefColorFormat = object.FaceColor
Description: The FaceColor property gets the color format for the face of the button.

Example:

Sub GefButtonFormat_FaceColor()
    
    Dim oCimObj As GefObject
    Dim oCimBtnFmt As GefButtonFormat
    Dim oCimColorFmt As GefColorFormat
    
    Set oCimObj = CimGetObject
    Set oCimBtnFmt = oCimObj.ButtonFormat
    If Not oCimBtnFmt Is Nothing Then
        Set oCimColorFmt = oCimBtnFmt.FaceColor
        If Not oCimColorFmt Is Nothing Then
            oCimColorFormat.RGB = &HBB& 'red
        End If
    End If
    
End Sub