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.
StyledTextCtrl(何も選択しない)で選択を削除する関数を探しています
txt.SetSelection(-1,-1) #Seems to select everything txt.SetSelection(-1,0) # This will select the first letter
誰かがこれを行う方法を知っていますか?APIで見つからないようです
これを試して:
txt.SetSelection(0, 0)