|
|
|
|
|
- Font variable
- Window icon bar color
- Color of an Edit control
- Text color in a Static Text control
- Text color of a Button control
- Text color of a Radio Button or Check Box control
- Text color of a List Box or Combo Box control
- Color of a TreeView control
- Text color of a cell, row or column in a Table control
- Color of a ListView control
- Color of an Image control
- Color of the tabs in a Tab control
- Color of a Sidebar control
- Color of a Bar Code control
- Limitations
The Color property gets or sets the font color of: - a variable of type Font.
- text displayed in a Static or Calculated control of a report.
- text displayed in a window control.
- text displayed in a page control.
- text in a menu option.
The effects of the Color property depend on the type of control (for more details, see "Remarks"). Note: By default, the color of a Font variable is black.
// The text color is modified according to the displayed value IF EDT_Total>15000 THEN EDT_Total.Color = LightRed END
Sintaxis <Result>: Integer or constant Color of the specified element. This color can correspond to: <Element used>: Control name or Font variable Name of the element for which you want to get the text color. This element can correspond to:- name of a control in a window or page.
- name of a control in a report.
- name of a variable of type Font.
<Element used>: Control name or Font variable Name of the element for which you want to change the text color. This element can correspond to:- name of a control in a window or page.
- name of a control in a report.
- name of a variable of type Font.
<New color>: Integer or constant New color of the specified element. This color can correspond to: Observaciones Font variable Se puede crear una fuente a partir de una variable de tipo Font. Para definir las características de la fuente, utilice: - la función FontCreate.
Esta función no está disponible. - las propiedades Charset, Orientation, StrikeOut, Color, Bold, Italic, CharacterSpacing, LineSpacing, Name, Underline, Size y SizeUnit.
Las propiedades Charset y Orientation no están disponibles para variables de tipo Font.
Esta fuente se puede utilizar: Assigning a font to a control: - if the Font variable has no specific color, the color of the text displayed in the control is kept.
- if the Font variable has a specific color, this color is applied to the text displayed in the control.
Color of an Edit control The Color property can be used to identify and modify the color of text entered.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|