Hi,
I'm a bit of a newbie to VB.NET so please forgive me if I get the
terminology incorrect... I'm still learning :)
I have a form with five numUpDown controls representing different ratios for
5 diferent things. Next to them are 5 checkboxes that can be used to lock
it's relevant ratio. I'm trying to get them to automatically distribute a
total of 100 amongst themselves. I've managed to get this working - almost...
The process I have is that when a user changes a value in one of the
numUpDown controls, the .OnChange handle for that control calls a method that
calculates the new values for the remaining 4 NumUpDown controls and updates
them.
The problem I have, is that because the same method is used by all the
NumUpDown controls using the .OnChange handle then when one of the Controls
changes the ratios and updates the values in the remaining 4 controls then
their .OnChange handles are called and they automatically reset the value of
the original changed control. I hope this makes sense.
So is there any way to change a value in a control and then stop it's
OnChange Handle from calling a method?
Cheers
Niels