3-D Effect (3d)
This property determines whether a three-dimensional appearance is applied when the
widget is displayed. True
(default) or
False
.
"
3d=
True
| False
"
Value |
Description |
---|---|
|
Widget has a three-dimensional appearance |
|
Widget has a 1-pixel black line as a border |
|
Use default. |
Usage
Dynamic? |
Yes, for Drag and Drop, OLE Container,
Picture, and Tree widgets. No, for all other widgets. |
Supported in Grid? |
No |
Dependencies: |
Applicable only if Frame is |
Description
This property has effect only if the Frame property is selected. The 3D effect is purely visual; no functionality is changed.
Check Box
For the check box widget, when
True
, a 3D effect is applied but only the surrounding frame is in color, not the
check box itself. If False
, both the check box and the surrounding frame are
displayed in color.
Using in ProcScript
For the Drag and Drop, OLE Container, Picture, and Tree widgets, this is a dynamic property.
You can use $properties or $fieldproperties to set or get the property and its value. For more information, see $properties and $fieldproperties.
$fieldproperties(FLD) = "3d=false"
For other widgets, this is a static property. It cannot be set in ProcScript.
Setting in an .ini File
You can set the default value for this widget property in the application .ini file. For example:
[widgets] ... ColorBox=ucolorbox(font=editfont;frame=on;3d=on;dimmedbackcolor=off)
Applies To
- ucheckbox (CheckBox)
- ucolorbox (ColorBox)
- ucolorlist (ColorList)
- ucombobox (Combo Box)
- DropTarget
- udropdownlist (DropDownList)
- EditBox
- uhtml (HTML Widget)
- ulistbox (ListBox )
- umap (Map)
- umeter (Meter)
- (umonthcalendar) MonthCalendar
- uOcxContainer (OcxContainer)
- uOleContainer (OleContainer)
- uoutputbox (OutputBox)
- upicture (Picture)
- uradiogroup (RadioGroup)
- urtfeditbox (RichEditBox)
- uslider (Slider)
- uspinbutton (SpinButton)
- utree (Tree)