Jump to content

Recommended Posts

Posted (edited)

Well

when i run the script

the edit in the window is:

<font color=#FF8000 style=font-size:30px><i>.</i></font><font color=#FF8000 style=font-size:30px><i>.</i></font>

And i just want:

.. (in red color)

plx help

:(

Edited by Ryona
Posted

here is the script:

#include <EditConstants.au3>
#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$read=FileRead("Log.txt")
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form1", 633, 448, 192, 124)
GUICtrlCreateEdit("", 336, 176, 289, 265, BitOR($ES_WANTRETURN,$WS_HSCROLL,$WS_VSCROLL,$WS_BORDER), BitOR($WS_EX_CLIENTEDGE,$WS_EX_STATICEDGE))
GUICtrlSetData(-1, $read)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

And the script executing is this:

Posted Image

Posted

Oh. That's different. I don't know of an easy way off the top of my head. A RichEdit control will probably work for you. It is similar to an edit control, but with more capabilities as far as customizing. There are several UDFs covering RichEdit controls.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...