zoukankan      html  css  js  c++  java
  • AutoIT: GUISetFont VS GUICtrlSetFont

    GUISetFont 可以设置默认字体,后面的资源都会用该字体,而 GUICtrlSetFont 可以对特定控件的字体进行设置。

    ;Combo,setfont, GUICtrlSetFont
    $font= "Comic Sans MS"
    $fontlabel= GUICtrlCreateLabel("Combo Test: ", 160, 280, 120, 20)
    GUICtrlSetFont($fontlabel,10,20, 2, $FONT)
    GUICtrlSetBkColor(-1,$GUI_BKCOLOR_TRANSPARENT)
    $comboFont= GUICtrlCreateCombo("", 250, 277, 120, 100, $CBS_DROPDOWNLIST)
    GUICtrlSetFont($comboFont,10,20, 2+4, $font)
    GUICtrlSetData($comboFont,"Sample Combo|Item2|Item3", "Item3")
  • 相关阅读:
    CSS中的单位简介
    grid-layout
    position
    form
    objects
    个人介绍
    第十二周作业:
    第十一周作业
    第十周web作业
    第九周作业
  • 原文地址:https://www.cnblogs.com/autotest/p/3262364.html
Copyright © 2011-2022 走看看