on 09-14-2010 9:39 AM
Hi Everyone,
I am doing a task to enhance Formatted-Text-Edit,
The task's goal is: simultaneously edit/display text and image.
I decide to use Formatted-Text-Edit and Formatted-Text-View to realize the task.
In Formatted-Text-Edit, user can edit the text and input URL for image,
In Formatted-Text-View, the text and image can be displayed simultaneously.
I add a button "Insert Image" besides the Formatted-Text-Edit,
This is the key point:
When user click the button, I want to insert a new text(URL of the image) at the cursor's position in Formatted-Text-Edit,
But how can I get the cursor's position, and insert a new text at the cursor's position in FTE.
Can anyone give me some suggestion or solution?
Many thanks in advance.
Best Regards,
Derek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.