Hi All, My c# skills are rather lacking... can anyone give me an example of what Brett mentioned below?
Cheers Dean From: Brett Spurrier [mailto:[email protected]] Sent: Tuesday, 17 January 2012 3:54 AM To: Dean Harry Cc: [email protected] Subject: Re: [MonoTouch] Custom TableViewCell and button? Hi Dean, Funny timing, I was just working on the same problem. And I was able to figure it out. I won't be at my mac for a few more hours (where my source code is), but I can send you a snippet in a few hours. In short though, create a UITableViewCell sublass, put your button on it, and anything else you like. Then in the constructor pass in the calling class (where your UITableView resides). In your calling class, have a function that you want fired which will launch a new view. Then in your custom UITableViewCell class, have the TouchUpInside action of the button call NameOfParentClass.NameOfFunction(optional args if you like). Make sense? I'll send you some code in a while. Cheers, Brett On Sun, Jan 15, 2012 at 11:51 PM, Dean Harry <[email protected]<mailto:[email protected]>> wrote: Hi world, Can anyone point me to any example of using a button on a custom tableviewcell to launch a view? Cheers Dean _______________________________________________ MonoTouch mailing list [email protected]<mailto:[email protected]> http://lists.ximian.com/mailman/listinfo/monotouch ________________________________ No virus found in this message. Checked by AVG - www.avg.com<http://www.avg.com> Version: 2012.0.1901 / Virus Database: 2109/4745 - Release Date: 01/15/12
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
