Windows Develop Bookmark and Share   
 index > Windows Forms General > problem when making some kind of EDITOR !!
 

problem when making some kind of EDITOR !!

hi all ... i have a little question..



im working in some kind of EDITOR program and i wanna (ON TEXT CHANGE
event for richTectBox) to change the color of some words


e.g:
when user press the (e) key and the past litters was (creat) then the (creat + e) word ganna be with some color or change the style of
font or or or ... so i used(selectedText property) but i face problem
which it : when the (create) set my program create same word again and set the changes on it..
help me to make it right

and sorry about my bad grammer and language ..

Josh Andy  Sunday, April 22, 2007 11:39 PM
Zhi-Xin Ye  Thursday, April 26, 2007 1:31 PM
hay ... where are you guyz
Josh Andy  Monday, April 23, 2007 8:05 AM
Could you try rewording your question again? Sorry... not sure what you're trying to do.
Ernst Kuschke  Monday, April 23, 2007 1:32 PM
I think he wants to change the color of some words when they are fully typed. Like in VS 2005, if you type 'lon' it's color is black, but when you type 'g' after 'lon', it becomes 'long', and it turns blue.

Is that right holy_spirit?
decyclone  Tuesday, April 24, 2007 10:23 AM

yap your are right, thats waht i want but as i said my language not strong enought to explaine the idea

any way ....thanx ...

so is it clear now ??

Josh Andy  Tuesday, April 24, 2007 12:21 PM
Zhi-Xin Ye  Thursday, April 26, 2007 1:31 PM
thanx alot.....
Josh Andy  Thursday, April 26, 2007 10:25 PM

You can use google to search for other answers

Custom Search

More Threads

• How to keep WindowState second child form Normal?
• Textbox Tag on base class
• Application.ThreadException looses some exception information
• Unregistering event using reflection
• How to disable the Right-Click popup on a VScrollBar?
• interactive winForm
• Image quality problem while using GDI+
• String with color
• How to find the handle for SendMessage(windowHandle, WM_RBUTTONDOWN, 0, 0);
• Accessing data fields through AxWebBrowser