Search found 8518 matches

by Sergey Tkachenko
Sat Jul 31, 2021 8:11 pm
Forum: Support
Topic: Errors in Richviewedit DropFile
Replies: 4
Views: 205

Re: Errors in Richviewedit DropFile

The component does not expect that you clear content in this event. It expects that you insert something at the caret position.
The exception occurs when the component tries to select the inserted content.
by Sergey Tkachenko
Sat Jul 31, 2021 8:34 am
Forum: Announcements
Topic: TRichView 19.3 - rich text editor for FireMonkey
Replies: 10
Views: 1331

TRichView 19.3.1

TRichView 19.3.1 New events: TCustomRichView.OnAfterDrawImage , TCustomRVPrint.OnAfterPrintImage allow drawing additional content on top of images. New table operation: TRVTableItemInfo.MoveRows . This is an undoable operation. Like other similar operations, it requires BeginItemModify/EndItemModif...
by Sergey Tkachenko
Sat Jul 31, 2021 8:03 am
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 404

Re: OnRVFPictureNeeded ItemNo

These events are already added in TRichView 19.3.1. As for the derived item, look at the example <TRichView Dir>\Demos\Addins\BlendBitmap\ It shows how to subclass an item for images to add transparency. Briefly: - create a class inherited from TRVGraphicItemInfo (in this example, TRVGraphicItemInfo...
by Sergey Tkachenko
Fri Jul 30, 2021 1:00 pm
Forum: Support
Topic: Errors in Richviewedit DropFile
Replies: 4
Views: 205

Re: Errors in Richviewedit DropFile

Can you give me the step-by-step instructions to reproduce this problem?
I believe it happens when inserting a text file in some specific place of a specific document.
by Sergey Tkachenko
Fri Jul 30, 2021 12:56 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 404

Re: OnRVFPictureNeeded ItemNo

Ok, I'll add OnAfterDrawImage and OnAfterPrintImage events in TRichView/TRVPrint.
by Sergey Tkachenko
Thu Jul 29, 2021 7:26 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 404

Re: OnRVFPictureNeeded ItemNo

Do you need to add text on all images, or only on certain images?
If the latter, a possible solution is creating a new item type, inherited from TRVGraphicItemInfo, with overridden Paint (and maybe also PrintToBitmap) methods.
by Sergey Tkachenko
Thu Jul 29, 2021 5:07 pm
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 404

Re: OnRVFPictureNeeded ItemNo

There is no OnPaint event for images. One of possible solutions is using OnItemAction event. Check for the parameter ItemAction = rviaInserted. This event does not have ItemNo parameter, but it has the item object, so you can access its properties, such as Item.Tag. Note that this event is called no...
by Sergey Tkachenko
Wed Jul 28, 2021 7:24 pm
Forum: RVMedia
Topic: connecting to a vivotek Camera without FFmpeg
Replies: 1
Views: 159

Re: connecting to a vivotek Camera without FFmpeg

Do you know video stream URL? In this case, assign it to RVCamera.URL. Assign RVCamera.DeviceType = rvdtRTSP RVCamera.VideoFormat = rvvfH264 (I assume this is a H.264 camera?) Then call PlayVideoStream. RVMedia can play RTSP video streams either using FFmpeg or using GStreamer. GStreamer can be down...
by Sergey Tkachenko
Wed Jul 28, 2021 11:06 am
Forum: Support
Topic: OnRVFPictureNeeded ItemNo
Replies: 11
Views: 404

Re: OnRVFPictureNeeded ItemNo

It's not possible, because this event is called before insertion.
by Sergey Tkachenko
Wed Jul 28, 2021 10:32 am
Forum: Announcements
Topic: New controls for integration with DevExpress Ribbon VCL
Replies: 6
Views: 264

To-do

Plans for future updates
  • combobox (and/or gallery) for choosing named styles, an analog of TRVAStyleTemplateComboBox
  • live spelling items in TRVAdxRibbonPopupMenu
  • the second set of TRichView toolbar images in this demo
  • modern versions of an application menu for the ribbon
by Sergey Tkachenko
Wed Jul 28, 2021 10:29 am
Forum: Announcements
Topic: New controls for integration with DevExpress Ribbon VCL
Replies: 6
Views: 264

Other features

This demo also shows how to:
  • maintain a list of recently opened files
  • change DX skin, and apply this skin to TRVRuler
  • display a progress of a long operation in a TdxRibbonStatusBar section
  • switch the editor DPI (zoom)
  • create screen tips (from hints and images)
dx-zoom.png
dx-zoom.png (37.55 KiB) Viewed 253 times
by Sergey Tkachenko
Wed Jul 28, 2021 10:25 am
Forum: Announcements
Topic: New controls for integration with DevExpress Ribbon VCL
Replies: 6
Views: 264

Popup menu

RichViewActions includes TRVAPopupMenu - a popup menu that builds itself automatically depending on the context. But it does not look consistent with the DX ribbon, so we added a new component, TRVAdxRibbonPopupMenu. This component is not inherited from TPopupMenu, so we cannot assign it to RichView...
by Sergey Tkachenko
Wed Jul 28, 2021 10:21 am
Forum: Announcements
Topic: New controls for integration with DevExpress Ribbon VCL
Replies: 6
Views: 264

Table insertion

This demo does not use a ribbon gallery for table insertion.
Instead, it shows how to position RichViewActions' table insertion window to the proper place.
dx-insert-table.png
dx-insert-table.png (32.32 KiB) Viewed 257 times
by Sergey Tkachenko
Wed Jul 28, 2021 10:18 am
Forum: Announcements
Topic: New controls for integration with DevExpress Ribbon VCL
Replies: 6
Views: 264

Color pickers

This demo includes a helper class TRVDXSubItemColorPickerHelper. It allows building a ribbon gallery for choosing colors (and, optionally, opacity), and linking it to a color-picking action. dx-color-picker.png By default, when the user clicks "More Colors...", RichViewActions display a TC...
by Sergey Tkachenko
Wed Jul 28, 2021 10:12 am
Forum: Announcements
Topic: New controls for integration with DevExpress Ribbon VCL
Replies: 6
Views: 264

Font comboboxes

This demo uses RichViewActions, a set of components and actions for building UI for a rich text editor. RichViewActions include TRVFontComboBox and TRVFontSizeComboBox: comboboxes for changing font name and size. These comboboxes can be linked to TRichViewEdit and work automatically. But they do not...