fxg4758 Posted February 28, 2018 Posted February 28, 2018 Hi. I´m trying to format a text in a WindowsForms10.RichEdit20W.app.0.13965fa_r26_ad1 to maintain always the same font, size and color, because if i paste text from another side, the box changes size or color when i´m writing. When i use the next code, the program always hangs. Regards. Quote Local $hRichEdit = ControlGetHandle("Test", "", "[NAME:test1]") _GUICtrlRichEdit_SetSel($hRichEdit, 0, -1) ; select all _GUICtrlRichEdit_SetFont($hRichEdit,16,"Calibri") _GUICtrlRichEdit_Deselect($hRichEdit) ; deselect all
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now