Search found 34 matches

by fchintc
Mon Oct 06, 2008 12:24 am
Forum: Support
Topic: Set Image Size When Using Action List's Insert Picture
Replies: 3
Views: 13248

That's great.

Looking forward to it.

Frederick
by fchintc
Sat Oct 04, 2008 8:33 am
Forum: Support
Topic: Set Image Size When Using Action List's Insert Picture
Replies: 3
Views: 13248

I am self-answering this post. What I did was to create a menu button in the action list menu and in the OnClick event of the menu item, I entered the following code (with examples from the help file and Sergey) :- var rve : TRichViewEdit; gr : TGraphic; pic : TPicture; begin rve:=rchContent ...
by fchintc
Fri Oct 03, 2008 10:13 am
Forum: Support
Topic: Set Image Size When Using Action List's Insert Picture
Replies: 3
Views: 13248

Set Image Size When Using Action List's Insert Picture

Hi, I have a large JPG image at this location: http://www.ctsoftware.com.my/refimages/large.jpg When I use the rvaActions's Insert Picture menu to insert the image into a RichViewEdit, I would like to set the image size to about 100 x 100 and also allow the user to resize it. Sergey, you gave me the ...
by fchintc
Fri Oct 03, 2008 10:06 am
Forum: Support
Topic: Code To Widen Last Column Doesn't Work
Replies: 8
Views: 20413

Thank you very much for the code! It works nicely.

Frederick
by fchintc
Wed Oct 01, 2008 1:15 am
Forum: Support
Topic: Code To Widen Last Column Doesn't Work
Replies: 8
Views: 20413

I have sent you the table that is a RTF in a DBISAM BLOB field. Hope that the format is OK. I couldn't get it to export to a RTF file.

Frederick
by fchintc
Tue Sep 30, 2008 2:26 pm
Forum: Support
Topic: Code To Widen Last Column Doesn't Work
Replies: 8
Views: 20413

I can see several grid lines to the right side of the table, in the first two rows. It looks like there are one or more empty columns at the end of the table. Size of this empty column is increased, while other columns remains of the same size. In that case, the solution may be to determine if the ...
by fchintc
Tue Sep 30, 2008 1:28 am
Forum: Support
Topic: Code To Widen Last Column Doesn't Work
Replies: 8
Views: 20413

Thanks for the code.

The result of the new code is as follows with the right columns of the first two rows still not stretching to the right margin of the page:-

Image

Any other suggestions?

Thanks.

Frederick
by fchintc
Mon Sep 29, 2008 9:37 am
Forum: Support
Topic: Code To Widen Last Column Doesn't Work
Replies: 8
Views: 20413

Code To Widen Last Column Doesn't Work

Hi, I have the following table:- http://www.ctsoftware.com.my/refimages/resize0.png I want the last column of the table to be widened up to the right margin of the page so that it looks like the following:- http://www.ctsoftware.com.my/refimages/resize3.png However, using the following code, I ...
by fchintc
Sun Sep 14, 2008 2:28 am
Forum: Support
Topic: On Saving Ole Container in RTF Blob, Text Remains
Replies: 3
Views: 13498

Controls are not saved in RTF or HTML. Just for clarification of the above statement. Are you saying that controls are saved using the RVF format? Currently, my data source is in RTF format from BLOB fields in Microsoft Access. Will there be a huge effort to import and convert them to RVF format ...
by fchintc
Sun Sep 14, 2008 2:21 am
Forum: Support
Topic: On Saving Ole Container in RTF Blob, Text Remains
Replies: 3
Views: 13498

Controls are not saved in RTF or HTML. OnSaveComponentToFile event occurs instead (I believe you use event code from one of demo projects that inserts the class name). In this event you can provide code representing this control (but if cause, you need to know RTF/HTML to process it). Saving ...
by fchintc
Fri Sep 12, 2008 8:23 am
Forum: Support
Topic: On Saving Ole Container in RTF Blob, Text Remains
Replies: 3
Views: 13498

On Saving Ole Container in RTF Blob, Text Remains

I inserted an Ole Container that links to MS Equation Editor within a DBRichViewEdit that points to a BLOB field containing an RTF. http://www.ctsoftware.com.my/refimages/oleinsert.png After I save it using the following code, function SaveBlob(rv: TCustomRichView; tbl: TDataSet; const FieldName ...
by fchintc
Thu Sep 11, 2008 2:30 pm
Forum: Support
Topic: How To Get Table Cell's Font Name And Size?
Replies: 4
Views: 13830

Thanks for your help.

Frederick
by fchintc
Thu Sep 11, 2008 2:28 pm
Forum: Support
Topic: Prevent Image Resizing On Insert
Replies: 4
Views: 13808

Thanks for the code and help.

Frederick
by fchintc
Thu Sep 11, 2008 2:26 pm
Forum: Support
Topic: Inserted Ole Container Can Only Be Dragged Once
Replies: 3
Views: 11678

On drag&drop, the selected fragment is copied in RVF format. Events cannot be saved in RVF, so all controls lose their events. You need to reassign them in OnControlAction event. The example can be found in Demos\Delphi\Editors\Editor 1\, search for "ole" in the main form's unit. Thanks. Adding the ...
by fchintc
Thu Sep 11, 2008 9:49 am
Forum: Support
Topic: How To Get Table Cell's Font Name And Size?
Replies: 4
Views: 13830

I would like to use the style from the first available format. Currently, my Style component that is linked to the DBRichEdit has a font name of Arial with size 10. However, the table cell at row 0, column 0, which is blank, is formatted with a font of Times New Roman and size 12.

Frederick