L
Lorenzo
Hello there,
I have a question. Is it possible through code disabling all the controls
on the BODY part of a mainForm ? Let's add I have also 3 subForms that I
would like to disable too. I would like to perform this task from a
comboBox on the header of my form. The cbo says "activate" and "deactivate"
and is here where I would like to disable the controls in the form. I know
it is possible to hide it through the visible property but I fear that
disabling with one call is a little more complicated. I have in mind a loop
but it is off my capabilities to write the code by myself.
One more thing, when I set via code the bacgroundColor property of the
body of the form it does not get refreshed right away. I tried either with
refresh or repaint but there is no way to accomplish it, I need to save the
form and move to the next or prev record to see the effective change take
place.
Lorenzo,
I have a question. Is it possible through code disabling all the controls
on the BODY part of a mainForm ? Let's add I have also 3 subForms that I
would like to disable too. I would like to perform this task from a
comboBox on the header of my form. The cbo says "activate" and "deactivate"
and is here where I would like to disable the controls in the form. I know
it is possible to hide it through the visible property but I fear that
disabling with one call is a little more complicated. I have in mind a loop
but it is off my capabilities to write the code by myself.
One more thing, when I set via code the bacgroundColor property of the
body of the form it does not get refreshed right away. I tried either with
refresh or repaint but there is no way to accomplish it, I need to save the
form and move to the next or prev record to see the effective change take
place.
Lorenzo,