Jump to content

Search the Community

Showing results for tags '_choosefont'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General
    • Announcements and Site News
    • Administration
  • AutoIt v3
    • AutoIt Help and Support
    • AutoIt Technical Discussion
    • AutoIt Example Scripts
  • Scripting and Development
    • Developer General Discussion
    • Language Specific Discussion
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Categories

  • AutoIt Team
    • Beta
    • MVP
  • AutoIt
    • Automation
    • Databases and web connections
    • Data compression
    • Encryption and hash
    • Games
    • GUI Additions
    • Hardware
    • Information gathering
    • Internet protocol suite
    • Maths
    • Media
    • PDF
    • Security
    • Social Media and other Website API
    • Windows
  • Scripting and Development
  • IT Administration
    • Operating System Deployment
    • Windows Client
    • Windows Server
    • Office

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Member Title


Location


WWW


Interests

Found 1 result

  1. Try running the example from the help file and select the font color olive. In the next dialog, it will have turquoise. This happens with some other colors. #include <Misc.au3> #include <MsgBoxConstants.au3> Local $a_vFont = _ChooseFont() Local $sFontName = $a_vFont[2] Local $iFontSize = $a_vFont[3] Local $iColorRef = $a_vFont[5] Local $iFontWeight = $a_vFont[4] Local $bItalic = BitAND($a_vFont[1], 2) Local $bUnderline = BitAND($a_vFont[1], 4) Local $bStrikethru = BitAND($a_vFont[1], 8) $a_vFont = _ChooseFont($sFontName, $iFontSize, $iColorRef, $iFontWeight, $bItalic, $bUnderline, $bStrikethru) If (@error) Then MsgBox($MB_SYSTEMMODAL, "", "Error _ChooseFont: " & @error) Else MsgBox($MB_SYSTEMMODAL, "", "Font Name: " & $a_vFont[2] & @CRLF & "Size: " & $a_vFont[3] & @CRLF & "Weight: " & $a_vFont[4] & @CRLF & "COLORREF rgbColors: " & $a_vFont[5] & @CRLF & "Hex BGR Color: " & $a_vFont[6] & @CRLF & "Hex RGB Color: " & $a_vFont[7]) EndIf Autoit: 3.3.14.2. Windows: 8.1. How to fix it?
×
×
  • Create New...