473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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 3670
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
by: | last post by:
Hi, I am setting the NumericUpDown .Value property and the ValueChanged event is NOT being fired. Does this ONLY get fired when I change it on the UI and not programatically? Thanks
1
by: Tantra Veda | last post by:
Hello C# gurus, I have a question about finding cursor position in NumericUpDown control. On my form I have a numericUpDown control with 2 decimal places. I want to increment value in the numeric...
10
by: Bonj | last post by:
I'm using a number of NumericUpDown controls on my form, which controls printer settings such as number of pages. However I want to override one of the default behaviours of the control, namely...
0
by: Koert | last post by:
Hi In the NumericUpDown control I have to detect that Tab was pressed so I have inherited the NumericUpDown and overroden the PreProcessMessage function. In the DateTimePicker (for example) this...
3
by: abc my vclass | last post by:
My win-form have many numericupdown controls to applied. But numericupdown control don't like textbox, text box control can automatic selected text when got focus. Is there any method can let me...
4
by: illegal.prime | last post by:
Hey all, I have a NumericUpDown control on a Panel or potentially a Form that have AutoScroll enabled. When the NumericUpDown is active I would like the Form/Panel/whatever not to scroll when I...
5
by: Len Weltman | last post by:
I am trying to pass a NumericUpDown object into a class method using Visual Studio 2005, but the control type is not found in Intellisense and the type declaration is flagged as an error. Here...
2
by: Stephan Zaubzer | last post by:
Hi all, I encountered a problem with NumericUpDown yesterday and managed to reproduce the error with a very easy examle. I have a Windows Application with only one Form, which contains only one...
2
by: =?Utf-8?B?U2hhcm9u?= | last post by:
Hello experts, I posted a disturbing question in here:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.