StartEdit;
StartEdit();
The StartEdit method turns the title into the edit mode.
After calling the StartEdit method and before calling the EndEdit method it is possible to edit the text using various specialized methods of the component.
Executing the example requires a form with a button on named Button1, the ErAnalyzerTitle component named ErAnalyzerTitle1 and a UiErAnalyzer component that is a data source for ErAnalyzerTitle1.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Begin
ErAnalyzerTitle1.StartEdit;
ErAnalyzerTitle1.InsertText("Test report");
ErAnalyzerTitle1.EndEdit;
End Sub Button1OnClick;
Clicking the button changes the title text. The specified inscription is inserted into the text.
The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of Fore components.
Private Sub button1_Click(sender: System.Object; e: System.EventArgs);
Begin
ErAnalyzerTitleNet1.CtrlBox.StartEdit();
ErAnalyzerTitleNet1.CtrlBox.InsertText("Test report");
ErAnalyzerTitleNet1.CtrlBox.EndEdit();
End Sub;
See also: