Ryan;
You can just check if the value of the control changed, and if so, ask the person to enter the password (although, what you are asking sounds more like an authorization code than a password scheme.) The first attachment is an example on how to do that.
However, instead of going through all that (including detecting control events and the like), I'll recommend a different approach: just have a button that the user must press to change the value. An indicator in the front panel can show the current value. To change the current value, the user press the button and a dialog appears asking for both the new value and the password (or authorization code). The second attachment is an example of this approach.
Regards;
Enrique Vargas
www.visecu
rity.com
www.vartortech.com