Hi Dimitris, Why not use an if function?
( buttonID.checked = true ? Execute function : do other function) Hope that helps, Michael Sent from my BlackBerry 10 smartphone. From: Dimitris Sent: Wednesday, August 21, 2013 8:39 PM To: devel@lists.sailfishos.org Subject: [SailfishDevel] How to check Switch state Hello, I have a ListModel and in my delegate I display the name of each element and next to it a Switch. Then I want to call a function which needs to know if the Switch for each element is checked or not. How can I do this? Regards, Dimitris _______________________________________________ SailfishOS.org Devel mailing list
_______________________________________________ SailfishOS.org Devel mailing list