Does anyone have an example with adding scope buttons to the
DialogViewController. Anytime I reference a scope method, I get object or
with variable not set.
Thanks.
public override void LoadView ()
{
this.EnableSearch = true;
string[] buttons = new string[] { "All", "Subject",
"Advanced"};
->Error this.SearchDisplayController.SearchBar.ScopeButtonTitles =
buttons;
->Error this.SearchDisplayController.SearchBar.ShowsScopeBar = true;
base.LoadView ();
}
--
View this message in context:
http://monotouch.2284126.n4.nabble.com/Monotouch-DialogViewController-and-Scope-Buttons-tp3647293p3647293.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch