-
blinking cursor in text box
[Originally posted by Andrew Zuffi]
I am able to display a text file with a vertical scroll bar enabled and have set KeyAscii = 0. What I want to get rid of is the blinking text cursor (or whatever it is called).
The user only needs to scroll the text.
Is there a way to do this using the text box or do I need to use another object?
Andrew
-
Re:blinking cursor in text box
[Originally posted by Kumar]
Hi Andrew,
ÿ U need not want to change the control. U can do with text box itself. First u Make the text box
"Locked" Property to "True" and remove the Code
"KeyAscii=0" .
ÿ To get rid of the Cursor from the control U just sent the focus to another control, U write the above code in the text box Gotfoucs event.
Ex:
ÿ Private Sub Text1_GotFocus()
ÿ ÿ Control.SetFocus
ÿ End Sub
Revert Me,
with regards.,
Kumar.K
-
Re:blinking cursor in text box
[Originally posted by Aser]
Easiest wasy of doing this wud be, on got focus of text box set focus to some other control.
Private Sub Text1_GotFocus()
Command2.SetFocus
End Sub
by this focus will never go to text box and even if u dont do keyascii=0 it will be okay,since text box will never retain focus.
Hope this helps
Aser
myownfreewill@yahoo.com
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