Hi Sergey,
Is there a way to get rounded selections of text like Visual Studio Code editor does?
Not a big deal but I wanted to ask about it.
Thanks Sergey
Stan
Search found 213 matches
- Mon Jan 30, 2023 2:54 pm
- Forum: Support
- Topic: Rounded Selection
- Replies: 2
- Views: 3521
- Sat Jan 21, 2023 6:09 pm
- Forum: Support
- Topic: Action Properties Dialog
- Replies: 7
- Views: 6811
Re: Action Properties Dialog
As I can see, this is the only RichViewActions form that has this problem. This form adjusts positions of these buttons in code, and form window recreation (that happens when assigning Form.Position) causes wrong realignment. The full fix for this problem is too long to post it here, so you can use...
- Sat Jan 21, 2023 3:03 pm
- Forum: Support
- Topic: Action Properties Dialog
- Replies: 7
- Views: 6811
Re: Action Properties Dialog
I confirm the problem in Delphi 10.3 (Previously, I tested in Delphi 11, it does not have this problem). I'll see what I can do. Hmm, interesting that it's OK in D11. If you can figure out what it's doing in the source that would be great. Otherwise the fix I made works OK. I have no plans to upgra...
- Wed Jan 18, 2023 10:48 am
- Forum: Support
- Topic: Action Properties Dialog
- Replies: 7
- Views: 6811
Re: Action Properties Dialog
Hi Sergey, Richview right now is 20.5 and Delphi is 10.3 I tried it in the ActionTestUni demo and it does it there too for me. Here's what I did: Add Form.Position := poScreenCenter to the RVAControlPanel OnCreateForm. Run the demo. Menu: Table | Insert Table... (defaults are fine). Menu: Table Prop...
- Tue Jan 17, 2023 8:58 pm
- Forum: Support
- Topic: Action Properties Dialog
- Replies: 7
- Views: 6811
Action Properties Dialog
Hi Sergey, I'm using RVAControlPanel OnCreateForm to change the opening position of the dialogs. Works well to reposition: procedure TForm1.RVAControlPanel1CreateForm(Form: TForm); begin Form.Position := poScreenCenter; end; However, I found that with properties dialogs the OK and Cancel buttons are...
- Wed Dec 21, 2022 12:08 pm
- Forum: Support
- Topic: Richviewedit Font resets after clicking at the cursor position
- Replies: 6
- Views: 6822
Re: Richviewedit Font resets after clicking at the cursor position
tomr, I tried your selection thing with different fonts in both the rich edit and scale rich edit demos. And both of those show the font name of the selection point text as you are seeing. I think all that is is the way Sergey coded his demos. In my current app I coded mine to display the word [Mutl...
- Wed Dec 21, 2022 11:51 am
- Forum: Support
- Topic: Richviewedit Font resets after clicking at the cursor position
- Replies: 6
- Views: 6822
Re: Richviewedit Font resets after clicking at the cursor position
tomr, Just FYI, I tried this in Word 2013, LibreOffice 7.4 and online Word and they all "reset" this way for me. I didn't always see the font name change in the font combo box immediately but they did "reset" as I started to type. Stan (I'm not with richview "support," ...
- Sun Nov 20, 2022 5:08 pm
- Forum: Support
- Topic: Save RVF file with resized image
- Replies: 8
- Views: 6339
Re: Save RVF file with resized image
Hi Sergey, OK, the following changes seemed to get around the problem: //uses RVThumbMaker: gr := RVThumbnailMaker.MakeThumbnail(gr, ImageSize.cx , ImageSize.cy ); if gr = nil then begin ShowMessage('Unable to resize this image.'); exit; end; //gr.Transparent := RVGraphicHandler.IsTransparent(gr); /...
- Sun Nov 20, 2022 3:09 pm
- Forum: Support
- Topic: Save RVF file with resized image
- Replies: 8
- Views: 6339
Re: Save RVF file with resized image
Hi Sergey, I spoke to soon. It appears to be working, but it's not. I can insert the png image and resize it, make the thumbnail, and then set the picture info and all looks as it should, i.e., transparency is intact and the image has in fact been resized. However , if I save the file and then reope...
- Sun Nov 20, 2022 1:46 pm
- Forum: Support
- Topic: Save RVF file with resized image
- Replies: 8
- Views: 6339
Re: Save RVF file with resized image
Hi Sergey, Finally had time to try this and it seems to work very well. I use PNGs most of the time and it makes a great image reduction and maintains transparency. Here's the code I'm using in case it will help someone else needing to do the same thing: try if (rv.CurItemStyle = rvsPicture) or (rv....
- Mon Nov 07, 2022 5:16 pm
- Forum: Support
- Topic: Undo in Tables
- Replies: 2
- Views: 3106
Re: Undo in Tables
Hi Sergey, I was working on some other stuff this morning and fixed a problem with that which also fixed this issue. It was some code dealing with my RVRuler in appIdle. So, yes, something I did caused it but it's good to have confirmation of how it should work! Thanks again Sergey, really appreciat...
- Sun Nov 06, 2022 8:12 pm
- Forum: Support
- Topic: Save RVF file with resized image
- Replies: 8
- Views: 6339
Re: Save RVF file with resized image
Hi Sergey, OK, that sounds about like what I thought. I was able to work it with a TBitMap and using Canvas.StretchDraw, but the resulting image is not that good plus transparency drops out on PNGs and so on. I'll resize in a paint program when I have to. Thanks, this helps to verify things for me! ...
- Sun Nov 06, 2022 6:32 pm
- Forum: Support
- Topic: Save RVF file with resized image
- Replies: 8
- Views: 6339
Re: Save RVF file with resized image
Hi Sergey, I don't have any code yet that I'm trying to use to do this with other than this kind of thing (or using the mouse): rv.SetCurrentItemExtraIntProperty(rvepImageWidth, W , True); rv.SetCurrentItemExtraIntProperty(rvepImageHeight, H, True); I've been using the words "size" and &qu...
- Sat Nov 05, 2022 5:03 pm
- Forum: Support
- Topic: Save RVF file with resized image
- Replies: 8
- Views: 6339
Save RVF file with resized image
Hi Sergey, If this has been answered before let me know. I often import a large image and resize it in a regular rve. No problem there. What I wanted to know is, after resizing the image how do I then save the rvf file with the resized image? I've been able to resize them in the editor or upon impor...
- Thu Nov 03, 2022 6:04 pm
- Forum: Support
- Topic: Undo in Tables
- Replies: 2
- Views: 3106
Undo in Tables
Hi Sergey, I notice when I type into a table and try to undo, it does nothing. If I click outside the table and undo, it works. Is this the expected behavior? I'd like for the table to undo while I'm still inside the table. I tried this in my rve KeyUp: procedure TForm1.rveKeyUp(Sender: TObject; var...