The properties listed in the following table are common to all, or multiple graphical objects. The read-only Design properties reflect the properties of the attribute attached to the form object. These Design properties can be modified by changing the attribute properties.
Property | Function |
---|---|
Direction | Read-only design property. Specifies the value of the Direction property of the attribute associated with the form object. |
Id | Read-only design property. Automatically generated by default. Identifies the object type and number. |
Length | Read-only design property. Specifies the Length of the attribute associated with the form object. |
Name | Read-only design property. Specifies the Name of the attribute associated with the form object. You can change thic property by renaming the attribute. Its value is set to Static Control for unassociated form objects. |
Primitive | Read-only design property. Specifies the Primitive type of the attribute associated with the form object. |
BackgroundColor | Specifies a background color for the object. Select a color from one of the tabs in the drop-down list. All objects initially inherit the background color of their parent. Note that you can specify a custom color for graphical screens and specify one of the following colors for character screens: Black, White, Red, Green, Blue, Yellow, Cyan, and Magenta. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu. |
BackgroundImage | Specifies an Image to display in the background of the object. |
BorderStyle | Specifies a style to control the border of the container that surrounds the object. Options are None, FixedSingle, or Fixed3D. |
ControlType | Specifies the type of object the selection should be. To change the ControlType, choose from the list of available types. |
DefaultValue | Specifies the default text that displays in the drop-down box entry field when the host does not send any data. |
DropDownStyle | Specifies the appearance and functionality of the ComboBox. Select from the values Simple, DropDown, and DropDownList. Note that if you change the height by using the mouse or entering values in the Height property the physical height of the control appears only for a Simple style, though at runtime the height setting is maintained for all styles. |
Font | Specifies font attributes that are applied directly to the text in the object. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu. |
ForegroundColor | Specifies a foreground color for the object. Select a color from one of the tabs in the drop-down list. Note that you can specify a custom color for graphical screens and specify one of the following colors for character screens: Black, White, Red, Green, Blue, Yellow, Cyan, and Magenta. If you change this value, you can restore the default value specified for the parent object by right-clicking the property and clicking Reset on the context menu. |
Location | Specifies the point in pixels that represents the upper-left corner of the object relative to the upper-left corner of its container as an X and Y location. |
ReadOnly | Specifies whether the content of the object is read-only. |
ScrollBars | Specifies whether the Form should have scroll bars or not. Setting this property only have an impact on systems generated for CE. There is no impact at design time. Options are No, Vertical, Horizontal, and Both (default). |
Size | Specifies the size of the object representing the height and width in pixels. |
TabIndex | Specifies the index that defines the tab order for the object. |
Text | Specifies the text to be displayed in the object |
TextAlign | Specifies whether the text in the object is left-aligned, right-aligned, centered-aligned, or justified. |
TextPosition | Specifies the position of the label relative to the object. The choices are Left and Right (default). |
ToolTip | Specifies an optional tooltip to appear when the user at runtime hovers the mouse over a control in Winform. To view the tooltip in Presentation Client, the user has to hover on the control and press the F1 key. This tooltip is visible only at runtime. |
ValidateEntry | When set to True, specifies that the value entered by the user at runtime is one of the values in the drop-down list. |
Value | Specifies the value to be displayed in or on the object. This value is returned to the application when a transaction occurs at runtime. |
Visible | Specifies if the object is visible to the user at runtime. Options are True (default) and False. |
Wrap | Specifies whether the browser automatically performs word-wrap on the text of the object. |
To see properties specific to any particular object, which also includes common properties for each object.
All Object Properties