Generic Function | Package: cg | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version

## on-format-change

Arguments: rich-edit

Returns (or sets with setf) the value of the on-format-change event property of rich-edit, which should be an instance of the `rich-edit` control class. The value should be a function object or a function name (a symbol naming a function). This function is called whenever a formating change is made to the rich-edit control. The value can also be `nil`, in which case no function is called.

The function should take three arguments: (1) widget --- the rich-edit control, (2) type --- either the symbol :character or the symbol :paragraph, indicating which type of format change occurred, and (3) args --- the list of keyword arguments that were passed either to set-character-format or set-paragraph-format

See cg-rich-text.htm for information about rich text editing in Common Graphics.

Copyright (c) 1998-2022, Franz Inc. Lafayette, CA., USA. All rights reserved.
This page was not revised from the 10.0 page.
Created 2019.8.20.

|  | ToC | DocOverview | CGDoc | RelNotes | FAQ | Index | PermutedIndex
| Allegro CL version 10.1 Unrevised from 10.0 to 10.1. 10.0 version