Hi Perucha,<br> A good programming technique to use, when speaking of enabling/disabling controls, is to use the Refresh() event of the control.<br><br>For Example:<br><br>If you have a command button you only want enabled when the user has entered something into a text box (example: a password text box and login button), you would put code in the refresh event of the button that looks like this:<br><br>THIS.ENABLED = ! EMPTY(THISFORM.txtPassword.Value)<br><br>In the textbox's Interactive Change event, you would call THISFORM.REFRESH(). This way, anytime the user changes the contents of the textbox, the command button will check and see if it needs to be disabled or enabled.<br><br>And in the Form's refresh event, its also good practice to explicitly refresh the controls that have code in their refresh method. Example: In the form's refresh:<br>THIS.cmdLogin.REFRESH()<br><br>HTH<br><br>Jon<br>