Search found 14 matches

by futuremode
Fri Feb 18, 2011 4:58 am
Forum: Support
Topic: Mail Merge using your Master-Detail sample code...
Replies: 2
Views: 12483

Thanks Sergey
by futuremode
Wed Feb 16, 2011 11:58 pm
Forum: Support
Topic: Mail Merge using your Master-Detail sample code...
Replies: 2
Views: 12483

Mail Merge using your Master-Detail sample code...

I am using code from your sample Master-Detail mail merge demo. I notice when I analyse the tables for the related data on your demo I see the table name, columns and rows indicated 'Class 0 2' etc. due to you building the table at run time. Thus your tables are: ('Class 0 2', -60, 0, [], [], nil ...
by futuremode
Wed Jan 26, 2011 11:39 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

I modified it so you can set the style in a cell by putting a preceeding space holding the style then delete from the cell after the data has been entered. That way each item in the cell can have its own style different style. procedure TForm3.FillFields(RVData: TCustomRVData); var i,r,c, StyleNo ...
by futuremode
Wed Jan 26, 2011 11:28 am
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

Thanks for that Sergey. Glenn
by futuremode
Tue Jan 25, 2011 9:05 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

I also added some code to find the style prior to the tag so the text inserted is the style of the item prior to the tag; Offs := RichViewEdit1.GetOffsBeforeItem(i);//Get item's position RichViewEdit1.SetSelectionBounds(i, Offs, i, Offs);//move the caret there. RichViewEdit1.Invalidate; StyleNo ...
by futuremode
Tue Jan 25, 2011 8:05 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

Thanks

That fixed it. Thanks
by futuremode
Tue Jan 25, 2011 11:31 am
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

What email account do I use?

Hi how to I send the project to you. I sent emails to [email protected] but they bounced back.
by futuremode
Mon Jan 24, 2011 11:27 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

I realised it was supposed to be: TRVLabelItemInfo(RVData.GetItem(i)).TextStyleNo := 0; This did not affect the text style however. Can I email you a graphic of what is happening. The data is merging okay but the resulting text is being compressed or stretched to the length of the label. If I select ...
by futuremode
Mon Jan 24, 2011 10:13 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

I tried

Code: Select all

RVData.GetItem(i).TextStyleNo := 0; .
but TextStyleNo appears to not be an option as it is an undeclared identifier.
by futuremode
Sun Jan 23, 2011 9:10 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

I replaced the above with; RVData.GetItem(i).StyleNo := 0; RVData.SetItemText(i, GetFieldValueFromDatabase(FieldName)); vText := RVData.GetItemText(i); The result is again in Chinese. However it appears to have the correct number of characters as per the data now. If I remove the line RVData.GetItem ...
by futuremode
Sat Jan 22, 2011 10:18 pm
Forum: Support
Topic: Merge style problem
Replies: 13
Views: 37977

Merge style problem

Hi I have a mail merge setup using modifications of your cde. It is working. But the style of the data that replaces the tag is the same as the tag style. The replaced text is compressed to fit in the width of the original tag. I attempted to change the style of the tag which worked to a point but I ...
by futuremode
Fri Jan 14, 2011 9:03 am
Forum: ScaleRichView
Topic: how to add items to pop-up menu
Replies: 9
Views: 45426

Thanks Sergey

I have only been programming with Delphi for around six months so it is a steep learning curve for me. I have it all working now.
by futuremode
Wed Jan 12, 2011 7:41 am
Forum: ScaleRichView
Topic: how to add items to pop-up menu
Replies: 9
Views: 45426

To TRVAPopupMenu

Do you want to add action in TPopupMenu or in TRVAPopupMenu? To TRVAPopupMenu. I have created an action and applied it to the main menu and a tool button but am having trouble with the right click popup menu in RichViewEdit1 of your demo Rich View Actions app. I want users to right mouse click ...
by futuremode
Tue Jan 11, 2011 7:53 pm
Forum: ScaleRichView
Topic: how to add items to pop-up menu
Replies: 9
Views: 45426

How to implement additions to popup menu at runtime

I am a newbie and was having trouble implementing the addition of actions to the popup menu so they appeared at runtime. Where do I install it in the app.