Parameters
- titleText
- The title text to match on.
Return Value
The View that matches the specified title text, if any.
void Sample_Frame_GetViewByTitleText() { //You can alert users by placing custom text in a view's titleText. //If you know the titleText, you can retrieve the view object with it. Application app = MyReflection.ActiveApplication; IFrame frame = (IFrame) app.GetObject("Frame"); frame.SelectedView.TitleText = "Alert!"; //... IView view = (IView)frame.GetViewByTitleText("Alert!"); view.Focus(); }