I have a richtextbox on a form.
Users will type in text in blocks(paragraphs) separated by a blank line
When user clicks cursor into a particular paragraph...
- I need to trap the entire current paragraph where the cursor is placed
Pseudo:
On mousedown event
messagebox.show(currentPara(currentCursorPosition))
should return entire paragraph text where the cursor is.
Can someone please show me how to code this ?
Thanks for any help
Users will type in text in blocks(paragraphs) separated by a blank line
When user clicks cursor into a particular paragraph...
- I need to trap the entire current paragraph where the cursor is placed
Pseudo:
On mousedown event
messagebox.show(currentPara(currentCursorPosition))
should return entire paragraph text where the cursor is.
Can someone please show me how to code this ?
Thanks for any help