i want to enable or diable some controls on another form depending on the action in the current form.
how can i write the code for this in the current form
Create a public boolean variable (say IsOk) in Another form (AnotherForm). Set True/False to the boolean variable.
In current form
Now write code to enabled/disabled the control based upon the value of boolean variable.
In another Form
If IsOK=True then ... Else .... End IF