Jump to content


TNxEdit add text on cursor position


  • Please log in to reply
1 reply to this topic

#1 array81

array81
  • Members
  • 192 posts
  • Gender:Male

Posted 23 March 2012 - 12:25 AM

I want add text on TNxEdit but in cursor position. For example if TNxEdit text is "There is the sun" and I put the cursor between IS and THE, I want add NOT to have "There is NOT the sun".

How can I do it?

#2 Boki (Berg)

Boki (Berg)

    Boki (Berg)

  • Forum Admin
  • PipPipPipPipPip
  • 6,809 posts
  • Gender:Male

Posted 23 March 2012 - 07:27 PM

Hi,

You need to set SelPos (or SelStart). You may check TEdit help reference as I inherit this control.
boki@bergsoft.net | LinkedIn Profile
--
BergSoft Home Page: www.bergsoft.net
Members Section: bms.bergsoft.net
Articles and Tutorials: dn.bergsoft.net (Developers Network)
--
BergSoft Facebook page
--
Send us applications made with our components and we will submit them on: www.bergsoft.net/apps.htm. Link to this page will be also set on home page too.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users