Numbering style
Numbering style
when start a numbering, how can I specify it font to follow the font at caret position?
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
-
- Site Admin
- Posts: 17559
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Current version of RichViewActions does not support this feature. The only way to define numbering size in RichViewActions is using the bullets&numbering dialog.
As for creating numbering yourself. You can take the demo in
Demos\Delphi\Assorted\ListStyles\Bullets\
as a sample.
Modify the function TForm1.CreateNumbering.
Instead of
write:
As for creating numbering yourself. You can take the demo in
Demos\Delphi\Assorted\ListStyles\Bullets\
as a sample.
Modify the function TForm1.CreateNumbering.
Instead of
Code: Select all
Font.Name := 'Arial';
Font.Size := 12;
Code: Select all
Font.Assign(RVStyle1.TextStyles[RichViewEdit1.CurTextStyleNo]);