text vertical

General TRichView support forum. Please post your questions here
Post Reply
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

text vertical

Post by Ceprotec »

Hello
exists as write text vertically?

thanks sergey
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Only in table cells (see Cell.Rotation property)
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

all right,
Now, how to make sure the rvActionSaveAs1 function automatically dialed the rvf item?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, I do not understand your question.

For new files, a default format is specified in RVAControlPanel.DefaultFileFormat. It is RVF by default. So rvActionSaveAs opens a dialog showing RVF format by default.

For existing files, rvActionSaveAs opens a dialog showing the current file format by default.
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

I want that after clicking the Save As button in the field shapes that I would get automatic RTF and no more RVF, how do I change?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Do you want it for new files?
Assign properties of TRVAControlPanel:
DefaultFileFormat = ffeRTF
DefaultFileName = 'Untitled.rtf'
DefaultExt = 'rtf'

If you want to remove RVF completely, remove it from RVActionOpen1.Filter and RVActionSaveAs1.Filter
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

ok, I'll try.
Thanks sergey
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

problem solved sergey
Thank you.

But now my question is another, as I put the table borders and borders of transparent cell at runtime?
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, I do not understand the question.
If you want to insert a table without borders, assign

Code: Select all

table.BorderWidth := 0;
table.CellBorderWidth := 0;
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

I have several tables in the text, I would like to have printed the text to go to take the edge off, all at runtime.
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Sorry, I still do not understand.
Can you send me an image showing what you want to implement?
Ceprotec
Posts: 259
Joined: Thu Oct 28, 2010 6:09 pm
Contact:

Post by Ceprotec »

I put this table by button, because I need the edges after printing I would like to remove the border at runtime.

Image
Sergey Tkachenko
Site Admin
Posts: 17557
Joined: Sat Aug 27, 2005 10:28 am
Contact:

Post by Sergey Tkachenko »

Borders around tables are removed if you assign
table.CellBorderWidth := 0;
Post Reply