Search found 9416 matches
- Mon Mar 25, 2024 10:16 am
- Forum: Support
- Topic: Insert Item into a Header\Footer
- Replies: 3
- Views: 5325
Re: Insert Item into a Header\Footer
3) This function returns the index of paragraph style having all properties of the ParaNo-th paragraph style, but the specified alignment. If such a style does not exist, the function creates it: function GetParaNoWithAlignment(ARVStyle: TRVStyle; ParaNo: Integer; Alignment: TRVAlignment): Integer; ...
- Mon Mar 25, 2024 10:06 am
- Forum: Support
- Topic: Insert Item into a Header\Footer
- Replies: 3
- Views: 5325
Re: Insert Item into a Header\Footer
2) To insert a page number from the second page, you need to activate the special header for the first page: fScaleRichView.PageProperty.TitlePage := True. (or, if you want to do it as an undoable operation, fScaleRichView..SetIntPropertyEd(srvipPPTitlePage, 1)). Please note that fScaleRichView.Star...
- Mon Mar 25, 2024 9:50 am
- Forum: Support
- Topic: Insert Item into a Header\Footer
- Replies: 3
- Views: 5325
Re: Insert Item into a Header\Footer
1) Before inserting content to the footer, you must activate its editing using StartEditing(srvrveHeader);.
See the explanation here: https://www.trichview.com/forums/viewto ... 203#p39203
See the explanation here: https://www.trichview.com/forums/viewto ... 203#p39203
- Thu Mar 21, 2024 2:34 pm
- Forum: Support
- Topic: Shrink the text
- Replies: 1
- Views: 4134
Re: Shrink the text
Do you want to change text size dynamically? I.e., make text in long documents smaller, and in short documents larger? If yes, the simplest way is not changing font size, but apply zooming, by changing DocumentPixelsPerInch property. Smaller values make text smaller. After changing this property, ca...
- Wed Mar 20, 2024 2:05 pm
- Forum: RVMedia
- Topic: Doesn't capture video stream
- Replies: 4
- Views: 7533
Re: Doesn't capture video stream
Summary: I received a sample jpeg frame from the topic starter. This is an unusual Jpeg, it cannot be read by Delphi classes (by TJpegImage in Vcl, and by TBitmap in FireMonkey). But I found how to modify it to make it compatible, and it seems to work now. I sent modified units to the topic starter ...
- Wed Mar 20, 2024 12:31 pm
- Forum: Support
- Topic: I want the user cannot write more than 12 lines
- Replies: 1
- Views: 4337
Re: I want the user cannot write more than 12 lines
There is no built-in line count limitation. You can process OnChange event. In this event, check line count: function IsParaCountOk(rv: TCustomRichView; MaxCount: Integer): Boolean; var Count: Integer; begin Result := False; Count := 0; for i := 0 ro rv.ItemCount - 1 do if rv.IsFromNewLine[i] then b...
- Sun Mar 17, 2024 7:22 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 16
- Views: 57638
Re: [Demo] Editors in editors
Can you send me a sample project, as simple as possible?
- Sun Mar 17, 2024 7:21 pm
- Forum: Support
- Topic: Best way to handle using TRichView
- Replies: 5
- Views: 16517
Re: Best way to handle using TRichView
Unfortunately, tables cannot be placed side by side. Planned for future versions.
- Sun Mar 17, 2024 7:20 pm
- Forum: Support
- Topic: Make the caret visible
- Replies: 3
- Views: 4792
Re: Make the caret visible
1. Make sure that the editor is formatted. Call rve.Format; (this method moves the caret to the end of the document, so MoveCaret is redundant).
2. Probably the editor is not focused. Call rve.SetFocus.
2. Probably the editor is not focused. Call rve.SetFocus.
- Sat Mar 16, 2024 6:40 pm
- Forum: Examples, Demos
- Topic: [Demo] Editors in editors
- Replies: 16
- Views: 57638
Re: [Demo] Editors in editors
1. As for rv.RVData.DocumentWidth, try assigning rv.WordWrap = False. 2. As for efficiency. Do you need to add all this content by one function call, or do you add/delete subeditors one by one? The most efficient method is adding all content (using AddControlEx method), and then call rv.Format only ...
Re: HunSpell
Do you call RVHunSpell.Check() yourself? If you assigned RVHunSpell to RVAHunSpellInterface.HunSpell, you should not call RVHunSpell.Check() (because it will attempt to localize a spell-checking dialog and will fail). Instead, use TrvActionSpellCheck action. This action assigns RVAHunSpellInterface....
- Tue Mar 12, 2024 3:56 pm
- Forum: RVMedia
- Topic: Doesn't capture video stream
- Replies: 4
- Views: 7533
Re: Doesn't capture video stream
Do you use the full version or the trial version?
If the full version, can you check if the function TRVWebCam.SampleCB (MRVWinWebCamera.pas) is called?
If the full version, can you check if the function TRVWebCam.SampleCB (MRVWinWebCamera.pas) is called?
- Tue Mar 12, 2024 3:53 pm
- Forum: Support
- Topic: Problem with image sizes
- Replies: 1
- Views: 4488
Re: Problem with image sizes
TRichView for FireMonkey saves images with default parameters. For WebP, when parameters are not specified, Skia4Delphi chooses maximum image quality, so images are saved lossless (or almost lossless), resulting large files. In the next update, I'll add a new global variable RVDefaultImageSavingQual...
- Mon Mar 11, 2024 9:24 am
- Forum: Support
- Topic: How to convert old data from TRichEdit to TRichView
- Replies: 10
- Views: 5627
Re: How to convert old data from TRichEdit to TRichView
The file that you sent to me previously as a sample field content was in RVF format (RichView Format). In this format, collections of text and paragraph styles are saved, so you had 3 options: - using styles from the document - ignore styles from document and use styles from the application - map st...
- Sat Mar 09, 2024 3:00 pm
- Forum: Support
- Topic: Plain Text Bullets on Copy
- Replies: 21
- Views: 382386
Re: Plain Text Bullets on Copy
To avoid saving markers in selection (or in the result of SaveText with TextOnly = True), change the function TRVMarkerItemInfo.GetBoolValue in RVMarker.pas. It must return False for rvbpAlwaysInText. In the next update, I'll modify it as function TRVMarkerItemInfo.GetBoolValue(Prop: TRVItemBoolProp...