|
TCustomRichViewEdit.ApplyStyleConversion |
Top Previous Next |
|
Applies custom conversion procedure to styles of the selected text items, tabs, label items. procedure ApplyStyleConversion(UserData: Integer); This procedure calls OnStyleConversion event for each selected text item and for the current text style. Using this method, you can implement commands like "make bold" or "change font name". This method ignores any text protection, it can change text style even if rvprStyleProtect is included in Protection of existing text items' styles. If you want to respect text style protection, check this protection option yourself in OnStyleConversion event. Method type:
Demo:
See also: See also events: |