Action
Tests whether the Bold style is being used in a rich edit control.
Availability
This function is available only in Windows, providing support for the
RichEdit control, and is supported only in scripts that use the Classic Agent.
Syntax
bBold = textfield.IsBold([iLine, iCol])
Variable
|
Description
|
bBold
|
TRUE if the character is bold.
BOOLEAN.
|
iLine
|
Optional: The line number of the character whose style to get.
INTEGER.
|
iCol
|
Optional: The column number of the character whose style to get.
INTEGER.
|
Notes
IsBold returns TRUE if the Bold style is being used in a rich edit control.
-
If the optional
iLine and
iCol arguments are not specified, then
IsBold returns TRUE if newly inserted characters will be bold.
-
If
iLine and
iCol are supplied, then
IsBold returns TRUE if the specified character is displayed in boldface.
Example
Verify(MyDialog.RichEdit1.IsBold(4, 1), TRUE)