In the ...AllClick case... don't use sender? The sender is just the button/checkbox that was clicked so if you were manually calling it you could pass one or call it's doClick function (in the older syntax you have above, presumably it'd be control_doClick) but since you're changing two of them at the same time and doing it regardless of either's actual state... just don't use the sender and when calling the checkbox click functions pass in the same names you used to set their state above. _________________
np, you learn things as they come up just like anything else
If you really want to learn a lot related to CE browse through the celua.txt file in CE's install directory a few times (main.lua pre 6.7), it's got most things in it. You can also pay attention to other questions/answers in the lua scripting sub-forum to see the occasional thing not mentioned in the docs. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum