|
-
controlling the visible area of a textbox
How does one control what area of a textbox is visible, without moving the
caret?
In a sense I want to reproduce a scroll bar's behavior. That is, if the
caret is in a particular position, and I move the visible area with a scroll
bar, the caret does not move.
The only way that I have been able to control the visible area of a textbox
is by setting the caret position by setting the SelectionStart property and
calling ScrollToCaret() after. This method works but conflicts with what
the user is doing (erases a highlighted selection for example).
Any ideas?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks