can i set TAB width in RichViewEdit?

General TRichView support forum. Please post your questions here
Post Reply
OldHawk
Posts: 16
Joined: Wed Mar 29, 2006 11:25 am

can i set TAB width in RichViewEdit?

Post by OldHawk »

1,can i set TAB char width in RichViewEdit?
2,i want to addNL with CR or LF, what cai i do?
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

You cannot define tab width, but you can define tab positions.
See
1) TRVStyle.DefTabWidth,
2) Each paragraph may have each own tab positions: TRVStyle.ParaStyles.Tabs collection
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

For adding text with CR+LF, use AddTextNL
OldHawk
Posts: 16
Joined: Wed Mar 29, 2006 11:25 am

Post by OldHawk »

but i don`t want to begin a new line,maby is append some text and with CR+LF.
Sergey Tkachenko
Site Admin
Posts: 17559
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Rules are the same, if ParaNo parameter =-1, text is added to the same line.
Post Reply