Bug or feature?
Posted: Tue Nov 11, 2014 4:13 pm
Hi, I am curios if the next stuff is a bug. There are 2 possibilities to add a hyperlink inside TRichView content.
First, in a clean TRichview you open a dialog to get some hyperlink URL and insert the hyperlink with this code: RichView.InsertStringTag('New link', Target), than, immediately you type some characters. The new stuff that you just typed in appears as part of the hyperlink you just created.
The second possibility is that you have some selection, get a URL from some dialog and use code as in demos to create a hyperlink for the selected stuff. Again, if you type some characters at the end of the selection, the new stuff you just typed in appears as part of the hyperlink you just created.
My boss says this behavior is a bug. What do you think?
We actually want that after a hyperlink was created at some position, RIGHT THERE the hyperlink should end, and if the user wants to extend it, than it should type stuff INSIDE the hyperlinked stuff. This is how other html editors works (well I only have FrontPage to test, so I am assuming they all do the same...)
Thanks
First, in a clean TRichview you open a dialog to get some hyperlink URL and insert the hyperlink with this code: RichView.InsertStringTag('New link', Target), than, immediately you type some characters. The new stuff that you just typed in appears as part of the hyperlink you just created.
The second possibility is that you have some selection, get a URL from some dialog and use code as in demos to create a hyperlink for the selected stuff. Again, if you type some characters at the end of the selection, the new stuff you just typed in appears as part of the hyperlink you just created.
My boss says this behavior is a bug. What do you think?
We actually want that after a hyperlink was created at some position, RIGHT THERE the hyperlink should end, and if the user wants to extend it, than it should type stuff INSIDE the hyperlinked stuff. This is how other html editors works (well I only have FrontPage to test, so I am assuming they all do the same...)
Thanks