Search found 27 matches

by whisper1980
Tue Jul 01, 2025 10:05 pm
Forum: Support
Topic: ConvertSymbolFonts and bullets
Replies: 3
Views: 9643

Re: ConvertSymbolFonts and bullets

I now have the registered version, and I noticed an odd thing in the header for bullets that has a %s in it, which seems a bit off. Example (typed from a screen shot, so there may be typos):
{listlevel\levelnfc23\leveljc0\li360\fi-360\jclisttab\tx360{\leveltext\'03\bullet %s;}
Is this expected ...
by whisper1980
Mon Jun 30, 2025 5:40 pm
Forum: Support
Topic: Simulate a backspace key
Replies: 4
Views: 19822

Re: Simulate a backspace key

Thanks! Yes, using Delphi 12.3, and works perfect on Android. I haven't yet tried it on iOS.
by whisper1980
Sat Jun 28, 2025 8:20 pm
Forum: Support
Topic: OnClick occurs on a touchscreen scroll
Replies: 4
Views: 4900

Re: OnClick occurs on a touchscreen scroll

FWIW, this is what I did to get around my issue and only do the OnClick event when the mouse/finger up hasn't moved far from the down:
procedure TForm1.RichViewEdit1MouseDown(Sender: TObject; Button: TMouseButton;
Shift: TShiftState; X, Y: Single);
begin
fMouseDownPos := TPointF.Create(X, Y);
end ...
by whisper1980
Sat Jun 28, 2025 7:07 pm
Forum: Support
Topic: OnClick occurs on a touchscreen scroll
Replies: 4
Views: 4900

Re: OnClick occurs on a touchscreen scroll

Correction... WPTools uses the mouse position between down/up to determine if it it was a click or not.
by whisper1980
Sat Jun 28, 2025 6:53 pm
Forum: Support
Topic: OnClick occurs on a touchscreen scroll
Replies: 4
Views: 4900

Re: OnClick occurs on a touchscreen scroll

I guess one has to have the mouse up occur off the control to prevent the onclick event. Seems just so stupid to me... it is not a click in my mind. To me a click is a short operation within milliseconds in order to distinguish a short vs long press, drag select text or even a scroll operation ...
by whisper1980
Fri Jun 27, 2025 10:20 pm
Forum: Support
Topic: OnClick occurs on a touchscreen scroll
Replies: 4
Views: 4900

OnClick occurs on a touchscreen scroll

Me again... Using the eval version under Delphi 12.3

On a touch screen, if I use my finger to slide the content (not using the scrollbar), and I lift my finger, the OnClick even occurs. Bad for me especially if the caret is within a hyperlink... is there a way around that? Tested on Windows and ...
by whisper1980
Fri Jun 27, 2025 9:19 pm
Forum: Support
Topic: Changing hyperlink tag issue
Replies: 5
Views: 6167

Re: Changing hyperlink tag issue

Awesome, Sergey, thanks for the tips!
by whisper1980
Thu Jun 26, 2025 10:10 pm
Forum: Support
Topic: Changing hyperlink tag issue
Replies: 5
Views: 6167

Re: Changing hyperlink tag issue

This is what I came up with which seems to work to toggle a tag value. See any issues or even a better way?

var vTag := String(RichViewEdit1.GetCurrentTag);
if not vTag.StartsWith('$noprint', true) then exit;

var vItem := RichViewEdit1.GetCurrentItem;
var vItemNo := RichViewEdit1.GetItemNo ...
by whisper1980
Wed Jun 25, 2025 3:53 pm
Forum: Support
Topic: DrawStyleText DrawLine issue
Replies: 2
Views: 4279

Re: DrawStyleText DrawLine issue

It's in the "Editor 1 modified.zip" file I provided so you can view the code and test. Are you not able to access or open that attachment?
by whisper1980
Tue Jun 24, 2025 9:20 pm
Forum: Support
Topic: Changing hyperlink tag issue
Replies: 5
Views: 6167

Re: Changing hyperlink tag issue

I've attached a modified version of the Editor 1 demo which also includes foundations.rtf you need to load with it. The referenced RTF in my previous post that can be clicked on is [ pre-cloaked red line ].

Eric
by whisper1980
Tue Jun 24, 2025 9:13 pm
Forum: Support
Topic: DrawStyleText DrawLine issue
Replies: 2
Views: 4279

DrawStyleText DrawLine issue

I am using the trial version under Delphi 12.3

I am using the OnDrawStyleText event to colorize different types of hyperlinks. They all have underlines, some are grayed out, one type is blue and some I highlight with light yellow.

With out resizing the form in the example attached, loading ...
by whisper1980
Tue Jun 24, 2025 6:45 pm
Forum: Support
Topic: Changing hyperlink tag issue
Replies: 5
Views: 6167

Changing hyperlink tag issue

Using the eval version under Delphi 12.3

I have this RTF hyperlink in a TRichViewEdit after loading an RTF file:
{\field{\*\fldinst{HYPERLINK "$noprint:\{1\}"}}{\*\fldtitle{$noprint:\{1\}}}
{\fldrslt{\f0\cf1 pre-cloaked\f0\cf0 \f0\cf1\b red\f0\cf1\b0 line\f0\cf0}}}

Within the hyperlink there is ...
by whisper1980
Wed Jun 18, 2025 10:59 pm
Forum: Support
Topic: ConvertSymbolFonts and bullets
Replies: 3
Views: 9643

Re: ConvertSymbolFonts and bullets

I found an issue with the RTF, which is generated by WPTools for the most part. However, not sure why it is not a problem when ConvertSymbolFonts is false but is when true.

In the SymbolSet.rtf, there is this line:
{\list\listtemplateid2\listsimple{\listlevel\leveljc0\levelfollow0\levelstartat1 ...
by whisper1980
Tue Jun 17, 2025 10:42 pm
Forum: Support
Topic: Replace hyperlink with new RTF?
Replies: 2
Views: 8662

Re: Replace hyperlink with new RTF?

Thanks, Sergey! Works great, and undo works fine as well on it.
by whisper1980
Tue Jun 17, 2025 10:15 pm
Forum: Support
Topic: ConvertSymbolFonts and bullets
Replies: 3
Views: 9643

ConvertSymbolFonts and bullets

Using the evaluation trial (TRichViewEdit v23.1) under Delphi 12.3. Sorry for the long post.

The bullet I use is from the Symbol set, character B7.
Checkboxes and radio buttons use Wingdings:
CmtChkBox_Empty = 168; // 0xA8
CmtChkBox_Check = 254; // 0xFE
CmtRadioBtn_Empty = 161; // 0xA1 ...