Cursor bigger in form

vb.net 2008

Is there anyway to ge the Tab cursor bigger/bolder so it can be seen better while tabing through textboxes ?

Thanks
fordraiders
LVL 3
FordraidersAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
shadow77Connect With a Mentor Commented:
For an empty TextBox, or one with the insertion point at the end of the text, you could add a space and select it (see code below for Enter event handler).  The inserted space will disappear when the user starts typing.

You would also need handlers for Leave and maybe TextChanged, plus a variable to tell you whether the user made changes or you should remove the space you inserted.  Or, depending on your application, you could always Trim your text when the Leave event fired.
Private Sub TextBox1_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.Enter
        If TextBox1.SelectionStart >= TextBox1.Text.Length Then
            TextBox1.Text += " "
            TextBox1.SelectionStart = TextBox1.Text.Length - 1
            TextBox1.SelectionLength = 1
        End If
    End Sub

Open in new window

0
 
AnilKumarSharmaCommented:
Cursor represents the image used to paint the mouse pointer. A cursor is a small picture whose location on the screen is controlled by a pointing device, such as a mouse, pen, or trackball. When the user moves the pointing device, the operating system moves the cursor accordingly. So you cant assume the functionality like bolder etc with images.

Each cursor consists of a cursor bitmap and a mask bitmap.

You can create your own cursors and set them.  You can create your cursor from bitmaps.

http://www.codeproject.com/KB/graphics/ColorCursorFromBmp.aspx

http://msdn.microsoft.com/en-us/magazine/cc301524.aspx

http://msdn.microsoft.com/en-us/library/system.windows.forms.cursor.aspx



0
 
shadow77Commented:
If you are referring to the Insertion Point (the blinking vertical line in the text box), you can influence it slightly if you change the Font property in the text box to make your font larger and/or bold.
0
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
FordraidersAuthor Commented:
Sorry, I'm referring to an insertion point (the blinking vertical line in the text box)..
Thanksl
0
 
shadow77Commented:
OK.  Both of my comments apply to the insertion point.  It's not an image and I could not find a way to access it directly.

You could write your own class based on TextBox but that may be more than you want to undertake.
0
 
CodeCruiserCommented:
0
 
FordraidersAuthor Commented:
code cruiser its the insertion point I'm trying to get bigger...Sorry not the mouse cursor
0
 
FordraidersAuthor Commented:
Thanks to all...
0
All Courses

From novice to tech pro — start learning today.