Topic: Checkbox
hello,i have a question:ihave a form with two checkboxes,and there is a possibility when i check one the other to be gray (not to click on) and viceversa?
Regards
My Visual Database → Script → Checkbox
hello,i have a question:ihave a form with two checkboxes,and there is a possibility when i check one the other to be gray (not to click on) and viceversa?
Regards
Hello,
example:
procedure Form1_CheckBox1_OnClick (Sender: string);
begin
Form1.CheckBox2.Checked := not Form1.CheckBox1.Checked;
end;
procedure Form1_CheckBox2_OnClick (Sender: string);
begin
Form1.CheckBox1.Checked := not Form1.CheckBox2.Checked;
end;
hello Dimitry,
thanks for fast reply,the example was very good,but the ideea is not to be posible to click on the checkbox ex: when the check box one is clicked (then tha checkbox 2 become invalid) and when checkbox 2 is clicked then checkbox1 becom invalid is there a posibility?
sorry i'm a novice;)
Regards
procedure Form1_CheckBox1_OnClick (Sender: string);
begin
Form1.CheckBox2.Enabled := not Form1.CheckBox1.Checked;
end;
hello Dimitry,
thanks for fast reply,still not achieving,can u send a tiny example?
https://www.google.com/search?q=checkbo … O00rPUM%3A
regards!
hello Dimitry,
thanks for fast reply,still not achieving,can u send a tiny example?
https://www.google.com/search?q=checkbo … O00rPUM%3Aregards!
Example for you:
mant thanks!
My Visual Database → Script → Checkbox
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi