Icon - DfBaseDialog
Allows you to set the name of an icon, which appears in the top left corner of a component and when the user minimizes a container
Type: Property
Access: Write-Only
Data Type: String
Parameters: None
Syntax
Property String Icon
| Access Type | Syntax |
|---|---|
| Write Access: | Set Icon to StringVariable/Value |
Description
The Icon message will allow you to set the name of an icon, which appears in the top left corner of a component (e.g. dbView, ReportView, dbModalPanel) and when the user minimizes a container.
Set Icon to "filename.ico"
For dbModalPanels, the Icon needs to be set inside Page_Object to display properly:
Procedure Page_Object Boolean bPage
Forward Send Page_Object bPage
Set Icon to "OurCompanyLogo.ico"
End_Procedure