Search found 48 matches

by jota
Thu Sep 25, 2014 11:15 am
Forum: Support
Topic: Colours in dbrichviewedit text
Replies: 3
Views: 12663

Colours in dbrichviewedit text

Hi

What is the easiest way to know how many colors there are in the text of a dbrichviewedit?

For example:

"This is the text in a dbdrichviewedit]" -> The result is three (black, red and blue)

Thanks in advance
by jota
Thu Aug 29, 2013 6:34 am
Forum: Support
Topic: Error bounds with bullet
Replies: 5
Views: 15755

Hi Have just sent an email with accompanying rar file. It is compiled in Delphi XE2 with TRichview 14.5 and Devart Unidac. If you press empty insert button and attempt press bullet button then appear error 'List index out of bounds'. If you press text insert button and attempt press bullet button th...
by jota
Fri Aug 23, 2013 10:51 am
Forum: Support
Topic: Error bounds with bullet
Replies: 5
Views: 15755

With a button that contains the next code: procedure TSDIAppForm.btnBulletClick(Sender: TObject); begin if not btnBullet.Down then TDBRichViewEdit1.RemoveLists(False) else TDBRichViewEdit1.ApplyListStyle(CreateBullet,0,0,False,False); end; { Returns index of bulleted list style. Creates it, if neces...
by jota
Thu Aug 22, 2013 9:31 am
Forum: Support
Topic: Error bounds with bullet
Replies: 5
Views: 15755

Error bounds with bullet

Hi I´m using TRichView version 14.5 and database SqLite . I have a problem with tdbrichviewedit (with autodisplay = True). This uses a blob field. When I insert a new record and try to include a bullet in tdbrichviewedit edition, it gives me an error 'list index out of bounds (0)'. If, in the insert...
by jota
Wed Apr 10, 2013 12:48 pm
Forum: Support
Topic: Colour for selected character (or cursor placed)
Replies: 1
Views: 8485

Colour for selected character (or cursor placed)

Hi For a TDBRichViewEdit: Is following code valid to get the color of the current character? Is there an easier way? procedure TSDIAppForm.EditorNotasClick(Sender: TObject); var tfi:tfontinfos; i:tcolor; begin tfi := estiloeditornotas.TextStyles; i := tfi.Items[editornotas.CurItemNo].Color; end; Bes...
by jota
Tue Apr 09, 2013 2:51 pm
Forum: Support
Topic: tdbrichviewedit selected text
Replies: 1
Views: 8382

tdbrichviewedit selected text

Hi.

What code should I use to know if there is a piece of text on tdbrichviewedit window, marked with the mouse?.

Thanks in advance.
by jota
Tue Mar 26, 2013 1:41 pm
Forum: Support
Topic: Colour button using in tdbrichviewedit
Replies: 1
Views: 8823

Colour button using in tdbrichviewedit

Hi

In a form with a tdbrichviewedit object, i want insert a color button ¿perhaps a tbuttoncolor?, for changing colour text.

Is possible a small example of code that implements this management.

Thank in advance
by jota
Wed Feb 27, 2013 11:39 am
Forum: Support
Topic: Find in TDBRICHVIEWEDIT
Replies: 3
Views: 12119

Find in TDBRICHVIEWEDIT

Hi

I always do the search from the beginning TDBRichViewEdit text, even if the cursor is in the middle or end of the text

How can I do?

Thank in advance
by jota
Sat Sep 01, 2012 6:45 pm
Forum: Support
Topic: Plain text from blob field with rvf format
Replies: 3
Views: 12754

Hi

I´m downloading xe2 version of trichview, from your web page, but i do not find RVGetText.pas inside. Is there another download link?

Thanks
by jota
Mon May 28, 2012 5:00 pm
Forum: Support
Topic: Switch selected information in tdbrichviewdit to bold/normal
Replies: 2
Views: 11855

Switch selected information in tdbrichviewdit to bold/normal

Hello

Your solution works perfectly

Thank you very much for your time and your attention
by jota
Fri May 25, 2012 11:00 am
Forum: Support
Topic: Switch selected information in tdbrichviewdit to bold/normal
Replies: 2
Views: 11855

Switch selected information in tdbrichviewdit to bold/normal

I have next code for that. I click on a type TSpeedButton to launch the procedure and all is well const { Parameters for ApplyStyleConversion } TEXT_BOLD = 1; TEXT_ITALIC = 2; TEXT_UNDERLINE = 3; { bold, italic, underline } procedure TSDIAppForm.btnEstiloFuenteClick(Sender: TObject); var button: TSp...
by jota
Thu Apr 26, 2012 8:41 am
Forum: Support
Topic: Find in TDBRICHVIEWEDIT
Replies: 3
Views: 12119

Find in TDBRICHVIEWEDIT

Hello.

I need to define a search on data in tdbrichviewedit, containing information from a blob field. I want to place cursor in text found.

How can I do?.

Thanks in advance.
by jota
Wed Mar 14, 2012 12:03 pm
Forum: Support
Topic: Plain text from blob field with rvf format
Replies: 3
Views: 12754

Plain text from blob field with rvf format

Hi.

I need present plain text from a blob field, in a dbgrid component (really, an small portion of every blob field).

It´s saved with rvf format.

Can anyone help me

Thank in advance.
by jota
Mon Feb 20, 2012 6:18 pm
Forum: Support
Topic: Bullet in TDBRichViewEdit ?
Replies: 1
Views: 8349

Bullet in TDBRichViewEdit ?

Hello

Can i use bullet in TDBRichViewEdit?

Can i get a little example please?

Thanks
by jota
Mon Sep 19, 2011 5:45 pm
Forum: Support
Topic: Using tdbRichViewEdit with Sqlite DB version 3
Replies: 6
Views: 17170

Using tdbRichViewEdit with Sqlite DB version 3

Hello The problem persist with "Allow adding styles dynamically". To ensure the problem isn´t installation, i reinstall trichviewedit. After that appear a message in text edition place: "Unsupported field type: BLOB is required". Definition of blob field in sqlite table is next: ...