Hi,
ich hab mal wieder ein Problem mit der RichEditbox und zwar wollte ich den font ändern.
Wenn ich mit dem Befel
[autoit]_GUICtrlRichEdit_SetFont($RichEdit_Montag, 10, "Times")
[/autoit]den font änder und mit
[autoit]$Temp_Array_Font = _GUICtrlRichEdit_GetFont($RichEdit_Montag)
_ArrayDisplay($Temp_Array_Font)
überprüfe, stimmt es auch.
Aber wenn ich dann später Text einfüge über
[autoit]_GUICtrlRichEdit_SetText($RichEdit_Montag, @CRLF & @CRLF & @CRLF & @CRLF & " BITTE WARTEN!")
[/autoit]und mit
[autoit]$Temp_Array_Font = _GUICtrlRichEdit_GetFont($RichEdit_Montag)
_ArrayDisplay($Temp_Array_Font)
überprüfe ist es wieder "MS Shell Dlg" und Schriftgröße "8.25"
Vielleicht kennt einer das Problem und kann mir helfen.
EDIT:
Ich hab festgestellt das die Einstellungen am Font bestehen bleiben wenn ich
[autoit]_GUICtrlRichEdit_InsertText($hWnd, $sText)
[/autoit]verwende, aber da gibt es natürlich das Problem das ich immer erst den ganzen alten Text löschen muss.
mfg
nefas