Insert text at cursor
"Luke Young" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <[email protected]> |
Can anyone help? I want to implement a drag and drop app where text is inserted into a memo or RichEdit box. But I want to insert the text where the mouse pointer is. The OnDragDrop give the X, Y co-ordinates but how can I convert that into where to insert the text. I want to implement something similar to how the Delphi IDE works when you are dragging text around in the editor? if there is a component that already does this could you let me know? Thanks In Advance Luke PS: I imagine this is simple but I cannot find an easy method... ------------------------ Yahoo! Groups Sponsor ---------------------~--> Inkjet cartridges up to 80% off. HP, Epson, Lexmark--we have your brand. Free shipping on every order to the U.S. and Canada! Excellent service. http://www.c1tracking.com/l.asp?cid=5510 http://us.click.yahoo.com/QWB0QC/.eUGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> Delphi Tips & Tutorials... http://www.delphicollection.com --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/