Search found 5 matches

by VoodooMike
Wed Aug 29, 2007 11:28 pm
Forum: Support
Topic: Strange problem
Replies: 4
Views: 12773

The code snippet you posted, added to the initial creation, does not trigger the application message. The frustrating part of this is the inconsistant behavior in the program. Only the forms created during startup are affected, and it goes away if you backspace after typing some, or clear things out ...
by VoodooMike
Thu Aug 23, 2007 11:42 pm
Forum: Support
Topic: Strange problem
Replies: 4
Views: 12773

The unicode styles are set at design-time. What you're saying sounds like it would be right - there being a single non-unicode text item in place that is treated as the first half of a unicode text item. However I tried the following: - calling .clear after the form is created. - having it add text ...
by VoodooMike
Thu Aug 16, 2007 10:45 pm
Forum: Support
Topic: Strange problem
Replies: 4
Views: 12773

Strange problem

I use TRichView for text entry in my chat software. Recently I decided I would alter the software such that it would support unicode. I ran into a strange problem. The program uses multiple docked forms, as tabs, each with its own richview and richviewedit for sending and recieving. The OnShow event ...
by VoodooMike
Sat Apr 01, 2006 8:07 pm
Forum: Support
Topic: SelectWordAt in a Cell
Replies: 2
Views: 10900

Just put a normal TRichView on a form, with a TRVStyle linked to it, and use the following: procedure TForm1.RichView1RVMouseDown(Sender: TCustomRichView; Button: TMouseButton; Shift: TShiftState; ItemNo, X, Y: Integer); begin Richview1.SelectWordAt(x,y); end; procedure TForm1.FormShow(Sender ...
by VoodooMike
Sat Apr 01, 2006 7:49 am
Forum: Support
Topic: SelectWordAt in a Cell
Replies: 2
Views: 10900

SelectWordAt in a Cell

I've recently started converting my chat application over to using tables for displaying messages, and I've noticed something strange in regards to using SelectTextAt. Doing a SelectTextAt on a word early on in a chat session can cause an index out of bounds exception if there aren't enough lines ...