Search found 169 matches

by Jim Knopf
Tue Aug 22, 2023 6:13 pm
Forum: ScaleRichView
Topic: TSRichView - GetItemAt returns wrong corrdinates
Replies: 2
Views: 16535

Re: TSRichView - GetItemAt returns wrong corrdinates

Jippie - that works - thnaks a lot!
by Jim Knopf
Tue Aug 22, 2023 3:01 pm
Forum: ScaleRichView
Topic: TSRichView - GetItemAt returns wrong corrdinates
Replies: 2
Views: 16535

TSRichView - GetItemAt returns wrong corrdinates

In a form I use TSRichViewEdit V. 9 The function GetItemAt returns wrong corrdinates and therefore does not return the item under the mouse pointer. I have already tried all possible combinations like: minus PageProperty.LeftMargin and PageProperty.TopMargin and/or minus the coordinates of srv.GetPa...
by Jim Knopf
Thu Aug 10, 2023 11:20 am
Forum: ScaleRichView
Topic: Color of not used space in TSRVTabset
Replies: 2
Views: 18179

Color of not used space in TSRVTabset

Hello Sergey, I just can't find the place where I can specify the colour for the unused area of a TRVTabset, so where there are no more tabs because the window is wider. Can you please tell me where I can specify the colour/bitmap? Best regards Martin P.S. Link of the example doesn't work with image...
by Jim Knopf
Sat Aug 05, 2023 12:56 pm
Forum: ScaleRichView
Topic: Setting Focus to ScaleRichView
Replies: 5
Views: 18587

Re: Setting Focus to ScaleRichView

We need the event because we need the item and position to deactivate errors locally. But it works anyway, I just overlooked one little thing, as I just found out. It would have been nice with the external rv, because this way I have to introduce a global variable in about 700 places in 50 units ......
by Jim Knopf
Sat Aug 05, 2023 11:16 am
Forum: ScaleRichView
Topic: Setting Focus to ScaleRichView
Replies: 5
Views: 18587

Re: Setting Focus to ScaleRichView

First I tried with ActiveEditor, but unfortunately OnSpellingCheckEx does not work there, which I need for the integration of the Duden corrector. I had to 'free' OnSpellingCheckEx at the time with rv, which worked very well. Now I have tried it this way, which unfortunately does not work: srv.Activ...
by Jim Knopf
Sat Aug 05, 2023 8:08 am
Forum: ScaleRichView
Topic: Setting Focus to ScaleRichView
Replies: 5
Views: 18587

Setting Focus to ScaleRichView

Hello Sergey, I work with ScaleRichviewEdit V 9.01 and unfortunately I can't upgrade because then basic things don't work. It's about two controls, rv (TRichViewEdit) and srv (TSRichViewEdit). Because I want to optionally switch between the two, rv is integrated externally with srv.ExternalRV := rv....
by Jim Knopf
Sat Jul 31, 2021 8:49 am
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

Re: OnRVFPictureNeeded ItemNo

Thanks, I will try it that way.
by Jim Knopf
Fri Jul 30, 2021 5:13 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

Re: OnRVFPictureNeeded ItemNo

Thanks, but maybe this is not necessary at all. It would even have a small disadvantage, because the graphic has to be enlarged at the bottom to make space for the text. If you could give me a hint as to where and how I would need to hook in a derived class, I think that would do it. Then I could cr...
by Jim Knopf
Thu Jul 29, 2021 9:32 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

Re: OnRVFPictureNeeded ItemNo

For this company, we always need it with all images, because they also need a list of illustrations in a separate chapter. They do training material in a team, several people do their part, and then everything is put together into one project (=document). Would there be a simpler method for all imag...
by Jim Knopf
Thu Jul 29, 2021 5:31 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

Re: OnRVFPictureNeeded ItemNo

Image
by Jim Knopf
Thu Jul 29, 2021 5:27 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

Re: OnRVFPictureNeeded ItemNo

Thanks for the quick reply. How can I draw the tag of the item on the bar at the bottom ...? Unfortunately, the problem is not only inserting a graphic, but I also need to react when the width of the image or the page format changes. For example, one image is 1500 px wide but only 600 in the text, t...
by Jim Knopf
Thu Jul 29, 2021 4:42 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

Re: OnRVFPictureNeeded ItemNo

hm ... so I get a serious problem. I need to find a solution to add captions to images. I can add a white bar to the bottom of the graphics. But then I need a way to write the subtitle on this border. At which OnPaint event can I insert this and how to do it?
by Jim Knopf
Wed Jul 28, 2021 10:44 am
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 10944

OnRVFPictureNeeded ItemNo

Hi,

how can I get the item number inside this event, e.g. for getting information via GetItemExtraStrProperty?

Thank you
Martin
by Jim Knopf
Wed Mar 18, 2020 8:11 pm
Forum: Support
Topic: How to make a particular line to topmost?
Replies: 2
Views: 13841

Re: How to make a particular line to topmost?

Perfect, that's it. Thank you!
by Jim Knopf
Wed Mar 18, 2020 11:07 am
Forum: Support
Topic: How to make a particular line to topmost?
Replies: 2
Views: 13841

How to make a particular line to topmost?

How can I make the line where the cursor is, to the topmost of a TRichViewEdit?