Is it a bug in QCheckBox?
Thu, 07/22/2010 - 17:19
I'm having a problem with all my QCheckBox controls. I set the QCheckBox to true, but on Validation, it is not set.
protected function Form_Create() {
$this->blnSomeCheckBox = new QCheckBox($this);
$this->blnSomeCheckBox->Checked = true;
...
}
protected function Form_Validate() {
if ($this->blnSomeCheckBox->Checked == true) {
do something...
}
}It always fails the "If". I'm using QCubed 2.0 on xampp. Surely I'm just doing something wrong.
Thanks,
LaCeja

Never mind... I just found the patch for it in ticket# 551.
Was that patch not included in 2.0.1?
The problem with QCheckBox was in 2.0. I'm still trying to get 2.0.1 working. Apparently, all the js plugins, like Autocomplete, have been converted to jQuery. I'm still trying to understand how they all work. I've made extensive use of many of the plugins and the jQuery versions are still a mystery to me.
Anyway, I got the patch installed and it corrected the problem with 2.0.
Thanks Alex.
LaCeja