LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Coerce and set ATTR_MAX_VALUE

Hello,
 
is there any known bug on LabWindows 7.0 concerning "coerce".
 
I am using a numeric control with the attribute "Range Checking" set to Coerce.
Then, I have a number in it, let say 3 and the max value was 10.
When I programaticaly change the ATTR_MAX_VALUE to 0 for example, the value on my control behaves that way:
           
0 Kudos
Message 1 of 2
(2,761 Views)

Sorry, here the end of the message:

When I programatically change the ATTR_MAX_VALUE to 0 for example,

the value is only coerced if the control is not the one active at this moment.

If it is the active control, it is not coerced at all on my GUI.

Is there any known things about that? Or is there another attribute to set? ...?

I'm working with Win2000. Thanks.

P.S: I could change the active control before setting this attribute and then set it active again, but it is not thinkable doing that on all my CVI applications for every numeric control I use...

0 Kudos
Message 2 of 2
(2,759 Views)