Search found 11 matches

by VicFan
Mon Oct 28, 2019 9:25 pm
Forum: Support
Topic: Can a PDF be placed in a RichView?
Replies: 1
Views: 14950

Can a PDF be placed in a RichView?

I see you have AddPicture() and InsertRTFFromFileEd() available, but is there any way to draw other formats on the canvas, mainly PDF, but also DOC and DOCX formats (even if the PC has to run Acrobat or Microsoft Word or some other library that you recommend to actually interpret the file)?
by VicFan
Sat Aug 31, 2019 10:51 pm
Forum: Support
Topic: Is there a RichView->BeginUpdate ?
Replies: 1
Views: 11748

Is there a RichView->BeginUpdate ?

A test demo I have been working on has very poor performance and I am wondering if it wasting a lot of time drawing on the screen prematurely while it is being calculated (as would be handled by a BeginUpdate() and EndUpdate() sequence), but I don't see that as being available for RichView. On my ...
by VicFan
Sun Aug 25, 2019 11:19 am
Forum: Support
Topic: RichViewEdit table cell looses size when RichViewEdit is resized horizontally where different LeftMargins were specified
Replies: 1
Views: 11519

RichViewEdit table cell looses size when RichViewEdit is resized horizontally where different LeftMargins were specified

Ran into a problem with RichViewEdit. The code below draws tables of various sizes with different LeftMargin's specified. All tables have 1 row. The first tables has 3 columns with LeftMargin=0. The next has 4 columns with LeftMargin=40. The next has 5 columns with LeftMargin=80. The next has 6 ...
by VicFan
Sun Aug 18, 2019 12:17 am
Forum: Support
Topic: Styles: rvstkParaText vs rvstkPara vs rvstkText
Replies: 4
Views: 17175

Re: Styles: rvstkParaText vs rvstkPara vs rvstkText

Thank you. That was extremely helpful, but my example code didn't go far enough. Apparently paragraphs are slightly different and I have another quick question related to styles. So I have modified your sample answer to add in a paragraph with the following requirement: there are 6 extra units above ...
by VicFan
Sat Aug 17, 2019 12:02 am
Forum: Support
Topic: Styles: rvstkParaText vs rvstkPara vs rvstkText
Replies: 4
Views: 17175

Styles: rvstkParaText vs rvstkPara vs rvstkText

I am struggling to understand where to use these constants. It is obvious Para vs Text, but it seems like "Normal" template style would be both (i.e., that should be ParaText). However, I have gotten "wrong kind of StyleTemplate parent" run time errors if I try to derive a text style from a Normal ...
by VicFan
Sun Aug 11, 2019 8:53 pm
Forum: Support
Topic: Embedding TRichView in TRichViewEdit
Replies: 7
Views: 27128

Re: Embedding TRichView in TRichViewEdit

Thank you. This is extremely useful and very quick "get up to speed" demo for exactly what I needed without reading tons of documentation with minimal code.
by VicFan
Fri Aug 09, 2019 3:30 pm
Forum: Support
Topic: Embedding TRichView in TRichViewEdit
Replies: 7
Views: 27128

Re: Embedding TRichView in TRichViewEdit

Attached is a very simple project that was going to make everything I needed to know about the TRichView component clear to me, but I need some help understanding a few things. This is what got me thinking that buttons did not work for TRichView (because it always adds to origin of the RichView ...
by VicFan
Thu Aug 08, 2019 4:59 pm
Forum: Support
Topic: Embedding TRichView in TRichViewEdit
Replies: 7
Views: 27128

Re: Embedding TRichView in TRichViewEdit

My first posting to your website a few weeks ago involved using TRichView as a substitute for a local content browser with buttons to hide/show text. I liked you answer well enough to purchase the license and am still working on that project. TRichView apparently doesn't allow buttons, as far as I ...
by VicFan
Thu Aug 08, 2019 2:35 pm
Forum: Support
Topic: Embedding TRichView in TRichViewEdit
Replies: 7
Views: 27128

Embedding TRichView in TRichViewEdit

Is it possible to embed a TRichView in a TRichViewEdit? I have tired everything I can think of and I can't get Align to work to fill the parent. Here is what I have tried: void __fastcall TForm1::btnEmbedClick(TObject *Sender) { TRichView * rv = new TRichView(RichViewEdit1); rv->Parent ...
by VicFan
Mon Aug 05, 2019 6:22 pm
Forum: Support
Topic: Code for table
Replies: 1
Views: 10725

Code for table

I am trying to figure out code for a table and tried the following: TRVTableItemInfo * table; table = new TRVTableItemInfo(1, 3, RichView1->RVData); table->Cells[0][0]->Clear(); table->Cells[0][0]->AddNL("One", 1, 1); RichView1->AddItem("A", table); table->Cells[0][1]->Clear(); table->Cells[0][1 ...
by VicFan
Sun Jul 28, 2019 9:04 pm
Forum: Support
Topic: Could TRichEdit substitute for a local browser?
Replies: 1
Views: 11057

Could TRichEdit substitute for a local browser?

I have a project that a prototype was created as a webpage, but ran into the problem that the TBrowser control in C++ Builder only allows 1 instance in each project and this needs to be multiple pages, each with their own browser. The fundamental requirements are: - Works like an unlimited length ...