procedure TForm1.RichViewEdit1StyleConversion(Sender: TCustomRichViewEdit;
StyleNo, UserData: integer; AppliedToText: boolean; var NewStyleNo: integer);
var
AFontInfo: TFontInfo;
begin
AFontInfo := TFontInfo.Create(nil);
try
AFontInfo.Assign(RVStyle1.TextStyles[StyleNo]);
case UserData of ...
Search found 22 matches
- Thu Dec 04, 2025 4:12 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
- Mon Dec 01, 2025 3:12 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under
@Sergey Tkachenko
Hello, I have another question. When I execute the code in cmbFontChange to change the font name of all the text in RichViewEdit1 at once, sometimes it works without any errors, but sometimes it doesn't work and throws the exception "Project project1 raised an exception class ...
Hello, I have another question. When I execute the code in cmbFontChange to change the font name of all the text in RichViewEdit1 at once, sometimes it works without any errors, but sometimes it doesn't work and throws the exception "Project project1 raised an exception class ...
- Sun Nov 30, 2025 12:46 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under
@Sergey Tkachenko It's indeed a coding issue, thank you
- Sat Nov 29, 2025 6:17 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under
The forum doesn't allow me to upload anything anymore. I'll paste the demonstration code.
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, RVStyle,
RVEdit,
RVTable,
RVTypes,
CRVData,
RichView,
LazUTF8;
type
TTextColorPair ...
unit Unit1;
{$mode objfpc}{$H+}
interface
uses
Classes, SysUtils, Forms, Controls, Graphics, Dialogs, StdCtrls, RVStyle,
RVEdit,
RVTable,
RVTypes,
CRVData,
RichView,
LazUTF8;
type
TTextColorPair ...
- Sat Nov 29, 2025 6:06 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under
Images cannot be uploaded directly; they can only be compressed and uploaded.
- Sat Nov 29, 2025 5:51 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
Re: I would like to ask about a problem where I cannot change the font name and color of the content in a control under
The effect drawing to be achieved.
- Sat Nov 29, 2025 5:49 am
- Forum: Support
- Topic: I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
- Replies: 9
- Views: 160
I would like to ask about a problem where I cannot change the font name and color of the content in a control under Laza
I would like to ask about a problem where I cannot change the font name and color of the content in a control under Lazarus.
This sample code demonstrates the function that when Button1Click is clicked, a string text is added to RichViewEdit1, divided into two paragraphs. Then when CheckBox1Click ...
This sample code demonstrates the function that when Button1Click is clicked, a string text is added to RichViewEdit1, divided into two paragraphs. Then when CheckBox1Click ...
- Thu Sep 05, 2024 1:45 am
- Forum: Support
- Topic: RichViewEdit input string under the original horizontal line problem
- Replies: 9
- Views: 159379
Re: RichViewEdit input string under the original horizontal line problem
@Sergey Tkachenko
I came to remind you, thank you for your help! Wish you a happy work!
I came to remind you, thank you for your help! Wish you a happy work!
- Tue Aug 27, 2024 4:27 am
- Forum: Support
- Topic: RichViewEdit input string under the original horizontal line problem
- Replies: 9
- Views: 159379
Re: RichViewEdit input string under the original horizontal line problem
procedure TForm3.RichViewEdit1Paint(Sender: TCustomRichView; ACanvas: TCanvas;
Prepaint: Boolean);
var
i, Y: Integer;
FirstDrawItemNo, LastDrawItemNo: Integer;
begin
if Prepaint then
exit;
ACanvas.Pen.Color := $EE9900;
ACanvas.Pen.Style := psSolid;
ACanvas.Pen.Width := 1;
Sender.RVData ...
- Thu Dec 02, 2021 2:03 am
- Forum: RVMedia
- Topic: How should I take the number of positions ????
- Replies: 1
- Views: 14372
How should I take the number of positions ????
Want to make a recording time timer, the "positions" how to take?
How should I take the number of positions ????
// Timer
procedure TMainForm.TimerTimer(Sender: TObject);
var
position: int64;
Hour, Min, Sec, MSec: Word;
const
MiliSecInOneDay = 86400000;
begin
if RVCamRecorder1.Active then ...
How should I take the number of positions ????
// Timer
procedure TMainForm.TimerTimer(Sender: TObject);
var
position: int64;
Hour, Min, Sec, MSec: Word;
const
MiliSecInOneDay = 86400000;
begin
if RVCamRecorder1.Active then ...
- Tue Nov 30, 2021 10:16 am
- Forum: RVMedia
- Topic: how to minimize the generated video file?
- Replies: 2
- Views: 15404
Re: how to minimize the generated video file?
That's right. Thank you very much!!
- Tue Nov 30, 2021 2:15 am
- Forum: RVMedia
- Topic: how to minimize the generated video file?
- Replies: 2
- Views: 15404
how to minimize the generated video file?
@Sergey Tkachenko
Rvmedia trial is very good. I have a question, how to minimize the generated video file. AVI and MP4 files are still a little large. How to make the files smaller and generate TS files? How to generate?
Sorry, I translated it with the translation software. I hope you can ...
Rvmedia trial is very good. I have a question, how to minimize the generated video file. AVI and MP4 files are still a little large. How to make the files smaller and generate TS files? How to generate?
Sorry, I translated it with the translation software. I hope you can ...
- Sat Oct 06, 2018 3:31 am
- Forum: Support
- Topic: Linespacing problem
- Replies: 2
- Views: 16936
Re: Linespacing problem
Thanks.
- Fri Oct 05, 2018 1:42 am
- Forum: Support
- Topic: Linespacing problem
- Replies: 2
- Views: 16936
Linespacing problem
Linespacing problem
The first row of data is not spaced at the top of RVE from the first row to the second row.
How to fix it.
Linespacing:=150%,The larger the number, the more obvious it is
See figure for problem effect.
The first row of data is not spaced at the top of RVE from the first row to the second row.
How to fix it.
Linespacing:=150%,The larger the number, the more obvious it is
See figure for problem effect.
- Tue Oct 02, 2018 2:00 am
- Forum: Support
- Topic: RichViewEdit input string under the original horizontal line problem
- Replies: 9
- Views: 159379
Re: RichViewEdit input string under the original horizontal line problem
Let me use the,
Form.DoubleBuffered:=true;
Form.DoubleBuffered:=true;