Jump to content

GUI it does not show me the Font Webdings correctly


Go to solution Solved by ioa747,

Recommended Posts

I wanted to explore a rather large script, and I went to use SciTE Jump, there I noticed that the icons on the buttons do not appear.

While during the construction in Koda it shows me correctly,
during the execution in the GUI it does not show me the Font Webdings correctly

I face the same problem with all similar fonts  Webdings, Wingdings, Wingdings 1, Wingdings 2

I still haven't figured out what's wrong, is it something with my settings, or something from window 10
I have  AutoIt Version..: 3.3.16.1   Win10 22H2

Does anyone know anything?
Can someone check it on their system?

Any help will be greatly appreciated
Thank you very much  :)

 

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

Global $Form1 = GUICreate("Form1", 350, 250)

Global $Button1 = GUICtrlCreateButton("3", 40, 10, 75, 25)
GUICtrlSetFont(-1, 10, 400, 0, "Webdings")
Global $Button2 = GUICtrlCreateButton("4", 125, 10, 75, 25)
GUICtrlSetFont(-1, 10, 400, 0, "Webdings")

Global $Button3 = GUICtrlCreateButton("◀️", 40, 40, 75, 25)
GUICtrlSetFont(-1, 12)
Global $Button4 = GUICtrlCreateButton("▶️", 125, 40, 75, 25)
GUICtrlSetFont(-1, 12)

$Input1 = GUICtrlCreateInput("123456", 10, 70, 321, 24)
GUICtrlSetFont(-1, 10, 400, 0, "Webdings")

GUISetState(@SW_SHOW)

GUICtrlSetFont($Button1, 10, 400, 0, "Webdings")

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

    EndSwitch
WEnd

 

Edited by ioa747

I know that I know nothing

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...