Jump to content

Fonts


Recommended Posts

I am using the little function below to show me debug data as I slog my way along. I have looked at extend styles and wherever else to find a setting for fonts as I wish to have a fixed witdth font.

Could you please clue in on a parameter to apply?

Thanx,

jh

Func display($string)

Global $debugDisplayExists

if $debugDisplayExists <> 1 Then

Opt("GUIOnEventMode", 1)

$w=515

$h=500

Global $debugDisplay_GUI = GUICreate("AutoIt Debug Display", $w, $h, @DesktopWidth-$w-15, @DesktopHeight-$h-75)

; Global $debugDisplay_GUI = GUICreate("AutoIt Debug Display", $w, $h, 1, @DesktopHeight-$h-75)

Global $debugDisplay_Edit = GUICtrlCreateEdit("", 8, 8, $w-5, $h-5, BitOR($ES_AUTOVSCROLL,$ES_READONLY,$ES_WANTRETURN,$WS_VSCROLL))

GUISetState(@SW_SHOW)

$debugDisplayExists = 1

EndIf

GUICtrlSetData($debugDisplay_Edit, $string &@CRLF, 1)

EndFunc

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...