Search found 49 matches

by pawnflakes
Sun Oct 28, 2012 9:00 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

The component that I use has a OnKey event where keys pressed get trapped. If for instance the enter key is pressed, i can then add a #13#10 code to my string. I am currently using the following:

OnKey event
if AKeyNames.KeyChar = #13 then
AKey:= '#13#10';
The text then gets saved to the DB
by pawnflakes
Sun Oct 28, 2012 8:10 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

But what i'm trying to make you understand is that the text in the memo is:

This #13#10 is #13#10 a #13#10 test

AND NOT

This
is
a
test
by pawnflakes
Sun Oct 28, 2012 7:28 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

There is no need to send a sample application: Let's assume we have a memo with the text: This #13#10 is #13#10 a #13#10 test //This is the text that I obtained from my keylogger - notice, the text is without colons because the keylogger doesn't know where to add colons.. Now, if I have a TRichView ...
by pawnflakes
Sun Oct 28, 2012 3:48 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

Hi Sergey When a user presses enter a #13#10 gets inserted. The problem is that the rest of the strings are not preceeded and ended with a colon. It seems that I will manually have to add colons. All I wanted to know is whether it is possible to replace all the #13#10 charcters with the relevant ...
by pawnflakes
Sat Oct 27, 2012 3:50 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

Thanks Sergey and LS_M. It works but it still doesn't solve my problem. I'm writing a keylogger application that captures all keys entered. When a user presses enter, a #13#10 code is added to the text. The text gets saved to a Database and then transferred to trichview on request. Is there no event ...
by pawnflakes
Fri Oct 26, 2012 7:57 am
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

Hi Sergey In my previous post I meant AddTextNL and not AddNL. In any case, this does not work. If we do your suggestion: 1 TButton and 1 TRichview on a form. The OnClick event for the button is: RichView1.AddTextNL('This #13 is #13 a #13 test',8,0,0); RichView1.Format; The result in the TRichview ...
by pawnflakes
Thu Oct 25, 2012 4:38 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

Hi Sergey I know that Addnl adds a new line but there is still a misunderstanding.. I allready have the text - the text is hard coded as follow: This #13 is #13 a #13 test. When I load the text from my DB field, I load it in one go. The text is then displayed as "This #13 is #13 a #13 test" and not ...
by pawnflakes
Thu Oct 25, 2012 1:25 pm
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

Hi Sergey

I think you misunderstood me..

If my database field contains the following text:

This #13 is #13 a #13 test

I would like the text to be displayed like this when I load TRichView with the text:

This
is
a
test
by pawnflakes
Thu Oct 25, 2012 10:41 am
Forum: Support
Topic: How to add a new line when #13
Replies: 19
Views: 60019

How to add a new line when #13

Hi

I have a Database with memo fields which stores all my text. When a user requests a record I update TRichview from the DB (RichView.Add(Table.FieldByName('KeysCaptured').AsString,8);. Some of my text contains #13 characters. How can I add a blank line when TRichview encounters a #13.

Thank You
by pawnflakes
Sun Jan 31, 2010 9:38 pm
Forum: Support
Topic: DB ScalerichviewEdit: problems to export PDF in new version
Replies: 7
Views: 26961

Thank you Sergey

I have contacted Gnostice support and will keep you updated of any new developments..
by pawnflakes
Sun Jan 31, 2010 6:23 pm
Forum: Support
Topic: DB ScalerichviewEdit: problems to export PDF in new version
Replies: 7
Views: 26961

Thanks for your help Crowbar I think i'm getting somewhere but it's still not working correctly. The text are rendered the entire page now e.g: a number "2" will show the entire page. If I apply your suggestion to the PaintMetafile demo in the Basic Demos folder, the results are correct but not with ...
by pawnflakes
Sun Jan 31, 2010 9:51 am
Forum: Support
Topic: DB ScalerichviewEdit: problems to export PDF in new version
Replies: 7
Views: 26961

Hi Crowbar

There is no such topic - could you please re-post?

Thank You
:)
by pawnflakes
Sat Jan 30, 2010 7:42 pm
Forum: Support
Topic: DB ScalerichviewEdit: problems to export PDF in new version
Replies: 7
Views: 26961

The PaintMetafile demo in the Basic Demos folder produces the same results - is this a bug with Metafiles in the new version?
by pawnflakes
Sat Jan 30, 2010 1:55 pm
Forum: Support
Topic: Picture and Table resize out of page border
Replies: 9
Views: 28604

Resizing pictures works properly but not for tables.
by pawnflakes
Sat Jan 30, 2010 1:50 pm
Forum: Support
Topic: Picture and Table resize out of page border
Replies: 9
Views: 28604

Hi

I have added SRVItemResizeMode:= srvrsTextArea; in the OnFormCreate section and I am still able to resize a table outside the border?