DefEntity
Logical widget for styling the default entity widget udefentity
in Form components. The properties set are applied to all entities in the application. If DefEntity is not defined, the udefentity
widget is transparent and follows Windows conventions.
DefEntity=
udefentity
(
Properties)
Arguments
Properties—semi-colon delimited list of property-value pairs
Property | Technical Property Name |
---|---|
Attach to Window Border (attach) | Attach |
Attach Margin (AttachMargin) | AttachMargin |
BorderType | BorderType |
Border Radius (BorderRadius) | BorderRadius |
Color Properties | |
Background Color (BackColor) | BackColor |
Foreground Color (ForeColor) | ForeColor |
Border Color (BorderColor) | BorderColor |
Gradient Fill Style (BackColorFill) | BackColorFill |
Gradient Color Start (BackColorStart) | BackcolorStart |
Gradient Start (GradientStart) | GradientStart |
Drop Shadow Color (DropShadowColor) | DropShadowColor |
Background Image Properties | |
Background Image (BackImage) | BackImage |
Horizontal Alignment (Halign) | HAlign |
Vertical Alignment (Valign) | VAlign |
Horizontal Scaling (Hscale) | Hscale |
Vertical Scaling (Vscale) | VScale |
Preserve Aspect Ratio (PreserveAspect) | PreserveAspect |
Default value: | None |
File section: | [application]
Note: When defined in both locations, the definition in the [entities] is used. |
Description
The udefentity
widget is used when the
Widget Type property of the entity is set to U_NONE
and the
Form runs on Windows.
If defined, the properties set with DefEntity are applied to all entities in the application. You can override these defaults for specific entities by editing widget properties for the modeled entity or the component entity in the Uniface IDE.
You can change the runtime values of entity widget properties using the $entityproperties and $CurEntProperties ProcScript functions.
Setting DefEntity
[application] DefEntity=udefentity(backcolor=#deefff)