Höhe bzw. Schriftgrösse der TAB's im Gui verändern

  • Hallo zusammen

    gibt es eine Möglichkeit die Höhe und Schriftgrösse der Tabs in einem Gui zu verändern.

    Ich habe leider im Forum nichts gefunden.

    [autoit]

    #include <GUIConstantsEx.au3>
    #include <TabConstants.au3>
    #include <WindowsConstants.au3>
    $Form1 = GUICreate("", 680, 440, "200", "200","",$WS_EX_STATICEDGE)
    GUISetBkColor(0xFFFFFF)
    $tab_1 = GUICtrlCreateTab(10, 10, 660, 400 )
    $tab_item_1 = GUICtrlCreateTabItem("TAB 1")
    $bttn_exit = GUICtrlCreateButton("Exit", 585, 362, 75, 35)
    $tab_item_2 = GUICtrlCreateTabItem("TAB 2")
    GUISetState(@SW_SHOW)

    [/autoit][autoit][/autoit][autoit]

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

    [/autoit]

    MfG
    johny

    Einmal editiert, zuletzt von johny1099 (22. März 2013 um 18:43)

  • [autoit]

    #include <GUIConstantsEx.au3>
    #include <TabConstants.au3>
    #include <WindowsConstants.au3>
    $Form1 = GUICreate("", 680, 440, "200", "200","",$WS_EX_STATICEDGE)
    GUISetBkColor(0xFFFFFF)
    $tab_1 = GUICtrlCreateTab(10, 10, 660, 400 )
    GUICtrlSetFont ($tab_1, 18) ;...
    $tab_item_1 = GUICtrlCreateTabItem("TAB 1")
    $bttn_exit = GUICtrlCreateButton("Exit", 585, 362, 75, 35)
    $tab_item_2 = GUICtrlCreateTabItem("TAB 2")
    GUISetState(@SW_SHOW)

    [/autoit][autoit][/autoit][autoit]

    While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
    Case $GUI_EVENT_CLOSE
    ContinueCase
    Case $bttn_exit
    Exit
    EndSwitch
    WEnd

    [/autoit]