Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » LineEdit, EditFields, DocEdit » editing selection in doc edit
editing selection in doc edit [message #17474] Sat, 16 August 2008 20:49 Go to next message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

hello all

i have a doc edit and i want to edit the selected text by user

how can i do that i know how can i get this selected text but i want to know how to change it

thnx in advance
Re: editing selection in doc edit [message #17485 is a reply to message #17474] Sun, 17 August 2008 08:31 Go to previous message
TeCNoYoTTa is currently offline  TeCNoYoTTa
Messages: 138
Registered: July 2008
Location: Egypt
Experienced Member

found solution Very Happy

//String selected = input.GetSelection();
input.RemoveSelection();
input.Insert(input.GetCursos(),"new text");
Previous Topic: Enter time as duration
Next Topic: writing from write to left
Goto Forum:
  


Current Time: Tue Feb 19 20:40:03 CET 2019

Total time taken to generate the page: 0.00617 seconds