FONT_ITALIC_OFF

FONT_ITALIC_OFF N

REMOVES THE STYLE "ITALIC" TO THE STYLE OF THE SYSTEM OBJECT NUMBER N

  • Type: Command
  • Parameter: 1
  • Group: Font

ACTION

The command FONT_BOLD_OFF N removes the style "italic" to the style of characters of the system object designated by its number N.

The system object is of type : BUTTON, EDIT, MEMO, COMBO, ALPHA, FORM, LIST, PICTURE, CHECK, OPTION, SPIN, GRID, CONTAINER, MEMO_RICH, BUTTON_PICTURE, SCENE2D, PANEL, GRID_DRAW, CONTAINER_OPTION, TAB, SYNEDIT, CHART.

SYNTAX: FONT_ITALIC_OFF N

  • N = system object number (integer or real). Must be greater than 0 and less than or equal to the allowed maximum number of system objects.

USE

  • The command FONT_ITALIC_OFF is used to remove italic of the text displayed by a system object.

ERROR

  • If number N is not a correct expression.
  • If number N exceeds the allowed maximum number of system objects.
  • If number N is less than 0.
  • If the system object number N does not exist.
  • If number N is not a system object of the type : BUTTON, EDIT, MEMO, COMBO, ALPHA, FORM, LIST, PICTURE, CHECK, OPTION, SPIN, GRID, CONTAINER, MEMO_RICH, BUTTON_PICTURE, SCENE2D, PANEL, GRID_DRAW, CONTAINER_OPTION, TAB, SYNEDIT, CHART.

EXAMPLE

rem create a MEMO

memo 1

rem fill it with a line

item_add 1,"Hello !"

rem put the line in italic

font_italic 1

wait 1000:rem wait for 1 second

rem remove the italic style

font_italic_off 1

SEE ALSO

FONT_NAME

FONT_SIZE

FONT_COLOR

FONT_BOLD

FONT_BOLD_OFF

FONT_ITALIC

FONT_UNDERLINE

FONT_UNDERLINE_OFF

FONT_STRIKE

FONT_STRIKE_OFF

FONT_NAMES_ADD

FONT_NAMES_LOAD