CaretPositionDialog は、Control が System.Windows.Forms.RichTextBox である CharacterPosition スタイルで表示される場合があります。ダイアログは、文字位置の状態パネルをダブルクリックすると Visual Studio .Net で表示されるものと似ています。
Private Sub button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button2.Click ' Call the panel's ShowCaretPositionDialog method ' to bring up the dialog. Me.ultraStatusBar1.Panels("P3").ShowCaretPositionDialog() ' Note: This panel must have a style of 'CharacterPosition' ' for this method to work. If the panel's 'Style' property ' is set to any other style nothing happens. End Sub
private void button2_Click(object sender, System.EventArgs e) { // Call the panel's ShowCaretPositionDialog method // to bring up the dialog. this.ultraStatusBar1.Panels["P3"].ShowCaretPositionDialog(); // Note: This panel must have a style of 'CharacterPosition' // for this method to work. If the panel's 'Style' property // is set to any other style nothing happens. }