NumericUpDown Bugs? (PocketPC)

  • Thread starter Alfred Gary Myers Jr.
  • Start date
A

Alfred Gary Myers Jr.

Hi,

I've been studying the behavior of the NumericUpDown on a PocketPC since
yesterday and found some interesting things:
- Validating will be called if you change focus to another control, but
won't if you maintain focus on the control while moving to another record.
- KeyDown, KeyPress, KeyUp, TextChanged aren't triggered when typing into
the text portion of the control, but TextChanged is triggered if I change
Text by code.

If I change the control's value by the text portion and move to another
record, it doesn't save the contents, while if I change it's value by
clicking on it's arrows and move to the next record, it saves the value.

Any workarounds?
Will theese issue be addressed in SP 2 or later?
Does anybody know when will SP 2 arive?

Thanks in advance

Alfred Gary Myers Jr.
Yuma Informática
 
J

Justin Weinberg

Are you working with VB.NET or in C#?

I have some beta NUD replacement code for WinCE in VB.NET. Shoot me an
email and I'll send it your way.
 
K

Katie Schaeffer [MSFT]

Hi Alfred,

Sorry you've waited so long for a response...

Validating is only tied in with focus changes, so it's expected that moving
to another record doesn't fire the event. (ByDesign for us).
Key events are only supported for forms, custom controls, panels, textboxes
and datagrid prior to SP2. This will be addressed in SP2 as all controls
will support key events.
The TextChanged event not firing is a known bug, but it didn't meet the bar
for any of the service packs.

| If I change the control's value by the text portion and move to another
| record, it doesn't save the contents, while if I change it's value by
| clicking on it's arrows and move to the next record, it saves the value.
I'm not sure what's going on here - could you provide some repro code?
This might be caused by the ValueChanged event not firing when the user
enters text. You could prehaps use the LostFocus event instead.

Hope this helps you out,
-Katie

This posting is provided "AS IS" with no warranties, and confers no rights.

***.Net Compact Framework Info***
Faq:
http://msdn.microsoft.com/mobility/prodtechinfo/devtools/netcf/FAQ/default.a
spx
QuickStarts: http://samples.gotdotnet.com/quickstart/CompactFramework/
Samples:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetcomp/h
tml/CompactfxTechArt.asp

--------------------
| From: "Alfred Gary Myers Jr." <[email protected]>
| Subject: NumericUpDown Bugs? (PocketPC)
| Date: Wed, 3 Dec 2003 10:53:59 -0300
| Lines: 24
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 200.144.29.2
| Path:
cpmsftngxa06.phx.gbl!cpmsftngxa09.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP11.
phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:40067
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Hi,
|
| I've been studying the behavior of the NumericUpDown on a PocketPC since
| yesterday and found some interesting things:
| - Validating will be called if you change focus to another control, but
| won't if you maintain focus on the control while moving to another record.
| - KeyDown, KeyPress, KeyUp, TextChanged aren't triggered when typing into
| the text portion of the control, but TextChanged is triggered if I change
| Text by code.
|
| If I change the control's value by the text portion and move to another
| record, it doesn't save the contents, while if I change it's value by
| clicking on it's arrows and move to the next record, it saves the value.
|
| Any workarounds?
| Will theese issue be addressed in SP 2 or later?
| Does anybody know when will SP 2 arive?
|
| Thanks in advance
|
| Alfred Gary Myers Jr.
| Yuma Informática
|
|
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top