hmsSurprise Posted April 10, 2007 Posted April 10, 2007 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
MHz Posted April 10, 2007 Posted April 10, 2007 Fonts have their own separate functions. GuiSetFont() GuiCtrlSetFont() I do not think you can set font width though as you have asked about. Font height is the main setting.
hmsSurprise Posted April 10, 2007 Author Posted April 10, 2007 Fonts have their own separate functions.GuiSetFont()GuiCtrlSetFont()I do not think you can set font width though as you have asked about. Font height is the main setting.Thanks. There are several fixed width fonts like courier that have their little serifs (I think) that keep their neighbors at a distance.http://www.lowing.org/fonts/
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