I am evaluating your product. So far I am impressed

I have some problems though. I couldn't find explantion or demo how to find out which checkbox was clicked in a checkboxlist.
Thanks in advance for your help.
yocko
1 2 3 4 5 6 7 8 9 10 11 12 13 | procedure TIWForm1 . IWCGAppFormCreate(Sender: TObject); begin with IWCGJQCheckBoxList1 . JQCheckBoxListOptions . OnClick . BrowserParams . Add do begin ServerName:= 'checked' ; BrowserScript:= 'ui.checked' ; end ; with IWCGJQCheckBoxList1 . JQCheckBoxListOptions . OnClick . BrowserParams . Add do begin ServerName:= 'value' ; BrowserScript:= 'ui.value' ; end ; end ; |
1 2 3 4 5 6 | procedure TIWForm1 . IWCGJQCheckBoxList1JQCheckBoxListOptionsClick(Sender: TObject; AParams: TStringList); var LCheckedVal: string ; begin LCheckedVal:= AParams . Values[ 'value' ]; end ; |
And what should I add in your code to save the item's index and/or caption (not only value)? Is that possible?
Can I as a programmer prevent checking/unchecking some item (not with disabling it)? Let's say for example at least one item among enabled items should always remain checked.
1 2 3 4 5 | function (event, ui){ if (ui.value == 'op1' ){ return false ; } } |