470,636 Members | 1,582 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,636 developers. It's quick & easy.

Grrr... NumericUpDown cursor

ok, I've scoured VS help, the Internet, books... I really hate the idea that
I might have to end up creating an updown control from scratch just because
I can't figure out how to turn off the %$@# text cursor...

Is it possible to turn that damn blinking cursor off? I've tried everything
I can think of...
Nov 16 '05 #1
6 3428
Chuck Bowling wrote:

ok, I've scoured VS help, the Internet, books... I really hate the idea that
I might have to end up creating an updown control from scratch just because
I can't figure out how to turn off the %$@# text cursor...

Is it possible to turn that damn blinking cursor off? I've tried everything
I can think of...


Are you talking about a _cursor_ (mouse pointer)

*or*

the _carat_ (text insertion point)???

Your post isn't clear as to what you are really referring to.
Nov 16 '05 #2
Yeah, you must be talking about the caret. The NumericUpDown is a composite
control made up of some smaller controls (actually it paints itself, and is
really only
made up of the one text-box, plus the custom drawing of the up-down arrows). The
act of turning off the caret would be equivalent to turning off the TextBox
control's
caret.

I use the thing all the time, and I don't even notice the caret. You must be
heavily
against the blinking ;-) To answer shortly though, there is no way to turn the
caret
off within managed code. There is probably a decent Win32 API, but then getting
the TextBox is going to be an issue.

--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

"Julie" <ju***@nospam.com> wrote in message news:41***************@nospam.com...
Chuck Bowling wrote:

ok, I've scoured VS help, the Internet, books... I really hate the idea that
I might have to end up creating an updown control from scratch just because
I can't figure out how to turn off the %$@# text cursor...

Is it possible to turn that damn blinking cursor off? I've tried everything
I can think of...


Are you talking about a _cursor_ (mouse pointer)

*or*

the _carat_ (text insertion point)???

Your post isn't clear as to what you are really referring to.

Nov 16 '05 #3
ty Justin. For me the blinking is akin to water dripping in a leaky
faucet... It's making me crazy... :D

"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:O0**************@tk2msftngp13.phx.gbl...
Yeah, you must be talking about the caret. The NumericUpDown is a
composite
control made up of some smaller controls (actually it paints itself, and
is really only
made up of the one text-box, plus the custom drawing of the up-down
arrows). The
act of turning off the caret would be equivalent to turning off the
TextBox control's
caret.

I use the thing all the time, and I don't even notice the caret. You must
be heavily
against the blinking ;-) To answer shortly though, there is no way to turn
the caret
off within managed code. There is probably a decent Win32 API, but then
getting
the TextBox is going to be an issue.

--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog: http://weblogs.asp.net/justin_rogers

"Julie" <ju***@nospam.com> wrote in message
news:41***************@nospam.com...
Chuck Bowling wrote:

ok, I've scoured VS help, the Internet, books... I really hate the idea
that
I might have to end up creating an updown control from scratch just
because
I can't figure out how to turn off the %$@# text cursor...

Is it possible to turn that damn blinking cursor off? I've tried
everything
I can think of...


Are you talking about a _cursor_ (mouse pointer)

*or*

the _carat_ (text insertion point)???

Your post isn't clear as to what you are really referring to.


Nov 16 '05 #4
Sorry, my bad. I assumed that calling it a text cursor as opposed to a mouse
cursor would be clear...

Anyway, I'm referring to the _carat_...
"Julie" <ju***@nospam.com> wrote in message
news:41***************@nospam.com...
Chuck Bowling wrote:

ok, I've scoured VS help, the Internet, books... I really hate the idea
that
I might have to end up creating an updown control from scratch just
because
I can't figure out how to turn off the %$@# text cursor...

Is it possible to turn that damn blinking cursor off? I've tried
everything
I can think of...


Are you talking about a _cursor_ (mouse pointer)

*or*

the _carat_ (text insertion point)???

Your post isn't clear as to what you are really referring to.

Nov 16 '05 #5
On Wed, 10 Nov 2004 14:04:34 -0500, "Chuck Bowling"
<ch**********@sbcglobal-NO-SPAM.net> wrote:
ok, I've scoured VS help, the Internet, books... I really hate the idea that
I might have to end up creating an updown control from scratch just because
I can't figure out how to turn off the %$@# text cursor...


Have you looked at the ReadOnly property? If you set it to true, the
value can be changed only with the up/down buttons, not by typing text
in the control. Not sure if the text cursor goes away, though...
--
http://www.kynosarges.de
Nov 16 '05 #6
Yes, I tried ReadOnly. The cursor doesn't go away. But, thanks for the
suggestion...

"Christoph Nahr" <ch************@kynosarges.de> wrote in message
news:km********************************@4ax.com...
On Wed, 10 Nov 2004 14:04:34 -0500, "Chuck Bowling"
<ch**********@sbcglobal-NO-SPAM.net> wrote:
ok, I've scoured VS help, the Internet, books... I really hate the idea
that
I might have to end up creating an updown control from scratch just
because
I can't figure out how to turn off the %$@# text cursor...


Have you looked at the ReadOnly property? If you set it to true, the
value can be changed only with the up/down buttons, not by typing text
in the control. Not sure if the text cursor goes away, though...
--
http://www.kynosarges.de

Nov 16 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Tantra Veda | last post: by
10 posts views Thread by Bonj | last post: by
reply views Thread by Koert | last post: by
2 posts views Thread by =?Utf-8?B?U2hhcm9u?= | last post: by
1 post views Thread by Korara | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.