How to Find the column and row of the cursor in a TRichEdit?
Answer Posted / leela
We have to use CaretPos property.By using this we can get X
coordinate and Y coordinate position.
Thanks
Leela
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to Convert 16bit resource to 32bit?
How to detect the CPU type of the computer the application is running on?
How to Use the WinApi GetObject to get a bitmap?
How to Use FindFirst to search for files?
How to Force edit mode in a TListView via a keypress ?
How to activate different hints for each cell in a grid?
How to use the TUpdateSQLProvider.OnUpdateRecord method ?
How to create an example of your problem for Borland Developer Support?
What are the different types of object allocations methods in delphi?
How to create an About Box in Delphi or C++ Builder?
How to Use escape codes with the format() function ?
How to make the background color different for alternating lines of text in a TListBox in Delphi?
I'm using Delphi 4/5 and have am trying to fill a RichEdit control with both European characters and Thai characters - while I can change character colours the font stays with what was selected for the control:- reLangB.SelAttributes.Color :=dCol; reLangB.SelAttributes.Name :=FontName[dLang]; reLangB.SelAttributes.Charset :=FontChar[dLang]; reLangB.SelAttributes.Style :=[]; reLangB.Lines.Add(dText); The FontName and FontChar arrays contain the font info, and using a similar method for Captions and EditBoexes works! Anybody any ideas? Thanx in advance!
How to keep seconds from being included in the display when using TDateTimePicker?
Can we write multi-user database applications in regular Delphi?