TCheckBox does not recognize checked
Original Reporter info from Mantis: polypress
-
Reporter name: peter turner
Original Reporter info from Mantis: polypress
- Reporter name: peter turner
Description:
When using CheckBox the application doesn't know that it has been checked. This applies whether it is checked from the Object Inspector or during the running of the application. The checkbox appears checked on the screen, but the application looking to see if it's been checked always reports unchecked and progresses accordingly.
I currently overcome the problem by replacing checkbox with label and monitoring the label caption.
Steps to reproduce:
Load CheckBox and application to monitor it:-
if CheckBox1.checked then ShowMessage('CheckBox is checked')
else ShowMessage('CheckBox is NOT checked');
It always displays 'CheckBox is NOT checked' regardless of the state of the checkbox.
Mantis conversion info:
- Mantis ID: 24994
- OS: Windows XP
- OS Build: SP3
- Build: 1.1-41139
- Platform: Android
- Monitored by: » polypress (peter turner)