I'm trying to find a way to make an Editor scroll when clicking and dragging - this is meant to simulate a touch & drag approach (like on an ipad/iphone). I don't have any clear preference of editor at this point - it can be a standard texteditor or the formattedtexteditor or another editor if someone has a recommendation. I was able to do this with an UltraGrid and it works quite well (apart from the fact that it doesn't scroll smoothly since it "jumps" a row at a time), but haven't had any success with Editors.
Hello GenesisTechnology,
We are still following this forum thread.
Please feel free to let us know if you still have any questions or concerns with this matter.
Sorry for the late reply. It is true that in traditional use of the editor control I can understand the confusion of trying to determine what the user is trying to do (select text, scroll, etc.), but it our case we have a very specific application in mind that narrows these issues. We keep the control in edit mode and don't care about selecting text - we only care about scrolling and (optionally) being able to select a specific point in the text (ie. to relocate the cursor). Using the scrollbar is difficult in a touchscreen environment because the scrollbar can be difficult to easily grab given its narrow width - that's one of the reasons that mobile UI's don't use scroll bars and instead use the whole surface to scroll.
I recognize that this is not a standard feature, but I thought it was worth asking since I was able to produce (close to) the desired functionality on the UltraWinGrid.
Thanks
Hello,
What you could do in your case is to put your UltraTextEditor in UltraPanale, set AutoScrol of ultraPanel to true and adjust height of UltraTextyEditor so that it should display all text without any scroll bars. Then you could scroll UltraPanle to desired position, using its Value property of VerticalScrollProperties
ultraPanel1.VerticalScrollProperties.Value = 20;
On this way you will scroll content of the UltraPanel, but for the user it will looks like UltraTextEditor is scrolling.
I hope that this will helps you.
Hello,
I am just checking about the progress of this issue. Let me know If you need my further assistance on this issue?
Thank you for using Infragistics Components.