move CheckBox1.Enabled := SQLQuery1.Active;
from Form1.OnActivate to SQLQuery1.AfterOpen
Hi and thanks for helping, paweld.
I tried your suggestion and it did not work.
In fact, the problem seems to me, is in the equating of the two entities, for I have even tried activating the same one line of code with a pushbutton, and the checkbox does not show "checked".
In fact, also, with the same button I change the caption of a label (to detect the state) and that does work, of course, meaning the code to set the label value and the one line of code using the booleans is in the same block of code to the onclick of the button.
Any explanations, or corrections?
P.S. I am coming to believe that even though they both are booleans, the booleans are not compatible.
Thanks!