Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Not user friendly behaviour for CNiNumEdit control when it has got a focus

The CNiNumEdit hasn't user friendly behaviour when it has got a focus on TAB event for example.
 
If you set a value in your prgram like this code:
 
m_ninumedit.SetValue ( 1234 );
 
and the focus is on other control and then you press TAB for changing the focus and the control m_ninumedit got it but it put the edit cursor in front of the first character '1'.
 
The correct behaviour would be that the control selects all characters to be ready to edit a new value.
 
The later versions that 7.1.0.313 have a bad behaviour (cwui.ocx)
0 Kudos
Message 1 of 5
(6,931 Views)
Hello Armageddon,

exists the bad behaviour for CNiNumEdit only when you programmatically change the value ?
I could not reproduce the issue please post a simple example so that i can see the wrong behaviour.

Best Regards

Benjamin
0 Kudos
Message 2 of 5
(6,895 Views)
Hello Benjamin,
 
You will find  the sources code to test the behavior of CNiNumEdit by using the TAB key between two controls CNiNumEdit.
 
Best regards
Armageddon
0 Kudos
Message 3 of 5
(6,889 Views)
Hello Armageddon,

thanks for the advice about the incorrect behaviour of the CWNumEdit. It will be solved in future development.

Thanks

Best Regards
0 Kudos
Message 4 of 5
(6,854 Views)
Hello Armageddon,

sorry for the wrong information about the solution in future development.
I could only say that the issue is assigned to the research and development department with the Bug ID 4E76JUBU

Thanks

Best Regards
Benjamin
0 Kudos
Message 5 of 5
(6,831 Views)