0

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

2
Contributors
1
Reply
2
Views
8 Years
Discussion Span
Last Post by __avd
0

Dear babbu,

Create a public boolean variable (say IsOk) in Another form (AnotherForm). Set True/False to the boolean variable.
In current form

AnotherForm.IsOk=True
   AnotherForm.Show

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
This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.