This description applies to the following properties:
The Picture (...) property applies an image to the control when the corresponding action (Checked, Hover, Selected or Pressed) has taken place.
Property Type: Static
Default Value: null
Hierarchical Reference (Picture Checked): ControlName.PictureChecked
Hierarchical Reference (Picture Hover): ControlName.PictureHover
Hierarchical Reference (Picture Pressed): ControlName.PicturePressed
Hierarchical Reference (Picture Selected): ControlName.PictureSelected
The Picture (...) property requires a path, file name and extension for the image to be used.
Supported image types include:
The affect the Picture property has on the appearance of the control is controlled by the Picture Style property (see below).
Ensure the property is a static property (It will display the gray orb alongside the property name)
The default value of the static property can be changed by one of the following methods:
A. Browse to the image:
B. Typing the required value directly into the property field:
The default appearance for the controls that support the Picture property are shown below.
The default appearance can be changed by applying an image to the Picture property and setting the appropriate Picture Style property.
Option Button and Group (Selected)
Macro and Dialog Button (Hover)
Macro and Dialog Button (Pressed)
|Default Appearance when (Action) is applied|
The Default Appearance for the Check Box, Option Button and Option Group can be removed by setting the properties listed below:
|Picture (...) Property Value (static)||Result||Notes|
Displays the image Checked.png alongside the default appearance of the control. The folder Graphics is located relative to the current project location.
|The value can be selected by clicking the browse button that accompanies the property.|
|..\..\Content\ProductMedium.gif||Displays the image ProductMedium.gif alongside the default appearance of the control. The folder Content is located 2 levels up (..\..\) from the current project location.||The value can be selected by clicking the browse button that accompanies the property.|
|D:\Images\Controlicons\Content\ BlackSelected.jpg||Displays the image BlackSelected.jpg alongside the default appearance of the control. The folder D:\Images\Controlicons\Content is the absolute path to the image.||The value can be set by typing directly into the property field|
A rule can also be built for this property by changing the type to dynamic.
|Picture (...) Property Value (Dynamic)||Result||Notes|
Displays the image defiined by the result of the variable Picture alongside the default appearance of the control.
|The value can be set by making the property dynamic (see above), launching the rule builder and applying the function.|
|IF(ProductTypeReturn="Glass", "Graphics\GlassSelected.png", "Graphics\WoodSelected.png")|
Displays the image GlassSelected.png when the control ProductType results in the value Glass. Otherwise the image WoodSelected.png will be displayed alongside the default appearance of the control.
Value set in Form Designer. Static properties can be made Dynamic by double clicking the gray radio button.