473,320 Members | 1,879 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,320 software developers and data experts.

Intellisense not working for NumericUpDown.Text

Strange one happening with VS 2003.
If I put a numericupdown on a form and then type the following:
string myString = this.numericUpDown1.Text;
then after the "." the intellisense pops up - but it _doesn't_ have Text -
the closest it has in the list is TextAlign.

However, if I choose that and then delete it back to match the above code,
it compiles fine (and works).

Any expert care to take a stab at why it doesn't pop up correctly?
Nov 17 '05 #1
3 1569
Andrew Ducker <Andrew Du****@discussions.microsoft.com> wrote:
Any expert care to take a stab at why it doesn't pop up correctly?


Because it uses:

EditorBrowsable(EditorBrowsableState.Never)
Nov 17 '05 #2
"C# Learner" wrote:
Because it uses:

EditorBrowsable(EditorBrowsableState.Never)


Have just done a few minutes investigation into this and I can't understand
why 'Never' exists as an option. If you don't want someone to use something,
make it private - all this does is make it a pain to use!

Thanks for the answer though.

Andy D
Nov 17 '05 #3
Andrew Ducker <An**********@discussions.microsoft.com> wrote:
If you don't want someone to use something, make it private - all this
does is make it a pain to use!


Note that, in this case, Text is inherited. Therefore, making
NumericUpDown's implementation of it private wouldn't prevent callers from
accessing the base class implementation.
Nov 17 '05 #4

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...
2
by: louise raisbeck | last post by:
Hi, I am using c#. i have my server code within script tags on my aspx page i am not using code behind. Do you not get intellisense when working like this? it would speed up my work considerably...
2
by: Don | last post by:
I'm having problems with intellisense, autocomplete, etc. suddenly not working in certain classes of a project I'm working on. All the options are set, and it all works fine for most classes, but...
12
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
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...
0
by: WtFudgE | last post by:
Hi, I'm using a numericupdown to represent the number of items in a listbox. It's supposed to add more items to the listbox if i change the value of the numericupdown. I used to did this with a...
5
by: chandan | last post by:
Hi, Intellisense is not working in VS 2005 IDE.How can I enable the intellisense ? Thanks, Chandan kumar
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.