Jump to content

problem with GUISetFont()


HighGuy
 Share

Recommended Posts

Sorry, didn't want to start a new topic. Should originally be added to the 3.1.1++ topic.

Hi,

I tried to switch one of my programs from 3.1.0.15 to 3.1.1.18. The consequence was that some of my controls disappeared. Unfortunately I could not reproduce this behavior with an example script until I discovered that I could reproduce the problem with different GUISetFont()-values. Have a look at the code. If I use font size 9 everything works fine. If I use 8 the input line isn't visible. Can anyone confirm this?

#include <GUIConstants.au3>

GUICreate("My GUI Tab"); will create a dialog box that when displayed is centered

GUISetFont ( 8, -1); not o.k.
;GUISetFont ( 9, -1); o.k.

GUICtrlCreateInput("input", 50, 50, 50, 20)

GUISetState ()

; Run the GUI until the dialog is closed
While 1
    $msg = GUIGetMsg()
    
    If $msg = $GUI_EVENT_CLOSE Then ExitLoop
Wend
Edited by HighGuy
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...