|
|
|
|
|
- Font of report controls
- Limitations
Font (Property) In french: Police
The Font property is used to - Get the identifier of the font used in a control in a report, page or window.
- Change the font used in a control in a report, page or window.
Font1 is Font
Font1.Name = "Arial"
Font1.Color = LightYellow
Font1.Size = 14
Font1.SizeUnit = unitPoint
Font1.Orientation = 45
MyControl.Font = Font1
Syntax
Getting the font used in a control Hide the details
<Result> = <Control used>.Font
<Result>: Font Font variable containing the characteristics of the font used in the specified control. <Control used>: Control name Name of the control to be used.
Changing the font used in a control Hide the details
<Control used>.Font = <New font>
<Control used>: Control name Name of the control to be used. <New font>: Font Font variable containing the characteristics of the new font to be used in the specified control. The font characteristics have been defined with FontCreate or via the font properties. Remarks Font of report controls To handle the fonts used in the controls of a report, use the following properties: Limitations In a window or page, the Font property can be used on: - a Static control,
- an Edit control,
- a Button control,
- a Check Box control,
- a Radio Button control,
- a List Box control,
- a row in a List Box, ListView or Combo Box control,
- a Table control,
- a TreeView Table control,
- a table cell,
- a table column,
- a formatted display control,
- an HTML control,
- a Combo Box control,
- a Link control,
- an HTML Static control,
- a Pager control,
- a Breadcrumb control,
- a TreeView control,
- a Menu control,
- a cell in a status bar.
Related Examples:
|
Unit examples (WEBDEV): Font property
[ + ] This example presents the use of the..Font properties and the use of the FontCreate function.
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|