You are here: COM API reference > Designer object > Icon property

Icon property

Each time a page is created, Meridian Enterprise will query the page for the Icon property. The icon that is returned will be used on the tab of the property sheet control.

Remarks

The default implementation returns the value of m_Designer.Icon, which is the Icon property of the VB form. To change the icon, select a new icon from the design pane of the form.

The default implementation of this method in the BC Meridian Template form is as follows:

Private Property Get IAMExtensionPage_Icon() As Object
    On Error GoTo Error_handler
    
    If Not m_Designer Is Nothing Then
        ' Set the edit mode of the datasource
        Set IAMExtensionPage_Icon = m_Designer.Icon(Me)
        ' Todo
        ' Add your code here
    End If
    
    Exit Sub
Error_handler:
    MsgBox caption & " Icon: " & Err.Description
End Property

www.bluecieloecm.com