Questions tagged [tcheckbox]

TCheckBox is a VCL control showing a box that can be checked or unchecked. It is defined in the StdCtrls.pas unit.

22 questions
1
vote
1 answer

On delphi XE8 Firemonkey TCheckBox.GetStyleObject is never called, why?

I've developed an inherited TCheckBox that needs some style fixes. I've achieved this in the past with other firemonkey controls by overriding the "GetStyleObject" method and doing the necessary fixes "on the fly", over the original style object. My…
0
votes
0 answers

Lazarus. Combine multiple components (TCheckBox) as one object

Good day. I am creating a turn-based strategy. It is necessary to implement a similar system of blocks / attacks on cells as in the game "Battleship", only I have 5 cells. I don’t understand how to make these 5 cells as one object, so that it would…
0
votes
0 answers

Delphi TCheckbox problems overriding WM_PAINT

I'm using an old version of Delphi (7), but that shouldn't matter much. Themes are in use. I need to have control over the background and font color of the checkbox and text of a TCheckbox. I have adapted some code found elsewhere which basically…
Ross
  • 157
  • 9
0
votes
1 answer

How to replace global variables with properties in TCheckBox?

I have a Checkbox1 that I would like to customize that when user clicks on Caption (text) of checkbox it doesn't change it's state (checked/unchecked), but only it does when clicked on the actual checkbox square. Here is current code with 2 global…
Mike Torrettinni
  • 1,816
  • 2
  • 17
  • 47
0
votes
1 answer

TEdit and TCheckBox Validations

My purpose is that the users will never be able to check a TCheckBox when the number is entered into a TEdit less than 7 digits. Also, this TCheckBox can never be checked when the TEdit is being empty. A problem of my codes is sometimes TCheckBox…
0
votes
2 answers

TCheckBox to filter dataset by a field

I'm trying to filter a dataset by one field when ticking a checkbox, the following is code what I have put together and thought was correct but it doesn't appear to be working, it brings back 0 records. procedure TfrmCustomers.cbClick(Sender:…
Sharpie
  • 373
  • 2
  • 15
  • 34
0
votes
1 answer

TCheckBox in RAD Studio XE5 Mobile App

I tried to use a CheckBox in a Firemonkey Mobile App. But when running the App I can't click on the CheckBox, e.g. it doesn't change it's IsSelected value. Also if I try to handle the OnClick event I never receive this event. On the same form I also…
AWiget
  • 5
  • 2
1
2