> Please ignore my previous mail. Duly ignored - check / choice, eh! :-)
> My frame consists of multiple no of check boxes. When I > clicked on selectall check box, all other checkbox's should select > automatically and the callback of respective check box should execute. > After that when I click on individual check box callback of respective > check box should execute. How can I achieve this. Am calculating amount in > check box callback. I'd be inclined to derive my own check_box widget, such that when it was shown it would add itself to a "master list" somewhere, and when it was hidden, it would remove itself from that "master list". The "select all" (or indeed de-select-all) widget then simply needs to walk that list, assert/de-assert each check box and trigger the callback. That's maybe a bit "brute force" but it'd be fairly simple and reliable. As an alternative, if you create a group specifically to hold your check boxes, and only your check boxes are ever put in that group, then that essentially creates the list for you, and you can walk the list of the groups children to access each check-box in turn (by walking the child() array.) Well, something like that, anyway... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

