Page 1 of 1
Use richview, how to achieve this feature?
Posted: Mon Aug 02, 2010 2:40 pm
by chinabettersoft
The control richview insert the phrase '[Name]', you can modify 'Name', The '[]' not allowed to modify ,the 'Name' color can be define, 'the []' color can also define. when the mouse click the '[Name]' the phrase, be underlined. the mouse to move, and underscores the automatic disappearance. click the '[Name]', according to choose, you may change the 'Name'. when print,'[]' don't print.
thank you
come from china jiangsu nanjing
Posted: Mon Aug 02, 2010 4:01 pm
by Sergey Tkachenko
Sorry, I am afraid it is not possible.
Well, you can try using OnDrawStyleText event to draw '[' and ']', but there will be no spacing reserved for them...
Posted: Tue Aug 03, 2010 7:06 am
by chinabettersoft
For specific characters, within a specified form, press backspace key, specific characters are erased and the cursor forward, to specific characters. through the right key to the menu could be deleted. for example, the phrase '[richview]', when the press backspace key deletes, '[]' not be deleted. if a direct input '[]' can be deleted.
If convenient for example, the best
thank you very much