Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
これを行う方法はありますか?Windows フォームで UltraTextBox.SelectAll メソッドの動作を模倣したいと考えています。
あなたの問題は、HideSelection が true に設定されていることだと思います。これを false に設定すると、textBox1.SelectAll は期待どおりに機能します...または、SelectAll() を呼び出す前に、テキスト ボックスにフォーカスを与える必要があります。
SelectAll が UltraTextBox でどのように機能するかはわかりませんが、テキスト ボックス内のすべてのテキストを選択するだけだと思います。