Sign in to follow this  
Followers 0
Pakku

Tabs will not show!

5 posts in this topic

Hi all,

when i run this, i can't see the tabs, how do i fix it?

#include<GUIConstants.au3>

GUICreate("My app",600,400)
GUICtrlCreatePic("Images\GUI.jpg",0,0,600,400)
GuiCtrlSetState(-1,$GUI_DISABLE)

GUICtrlCreateButton("",460,50 + 35 * 0,95,30)
GUICtrlCreateButton("",460,50 + 35 * 1,95,30)
GUICtrlCreateButton("",460,50 + 35 * 2,95,30)
GUICtrlCreateButton("",460,50 + 35 * 3,95,30)
GUICtrlCreateButton("",460,50 + 35 * 4,95,30)

GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH)
GUICtrlCreateTabItem("1")
GUICtrlCreateTabItem("2")
GUICtrlCreateTabItem("3")

GUISetState()

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then
        Exit
    EndIf
WEnd

Arjan

Share this post


Link to post
Share on other sites



Hi all,

when i run this, i can't see the tabs, how do i fix it?

#include<GUIConstants.au3>

GUICreate("My app",600,400)
GUICtrlCreatePic("Images\GUI.jpg",0,0,600,400)
GuiCtrlSetState(-1,$GUI_DISABLE)

GUICtrlCreateButton("",460,50 + 35 * 0,95,30)
GUICtrlCreateButton("",460,50 + 35 * 1,95,30)
GUICtrlCreateButton("",460,50 + 35 * 2,95,30)
GUICtrlCreateButton("",460,50 + 35 * 3,95,30)
GUICtrlCreateButton("",460,50 + 35 * 4,95,30)

GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH)
GUICtrlCreateTabItem("1")
GUICtrlCreateTabItem("2")
GUICtrlCreateTabItem("3")

GUISetState()

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then
        Exit
    EndIf
WEnd

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

Hi all,

when i run this, i can't see the tabs, how do i fix it?

#include<GUIConstants.au3>

GUICreate("My app",600,400)
GUICtrlCreatePic("Images\GUI.jpg",0,0,600,400)
GuiCtrlSetState(-1,$GUI_DISABLE)

GUICtrlCreateButton("",460,50 + 35 * 0,95,30)
GUICtrlCreateButton("",460,50 + 35 * 1,95,30)
GUICtrlCreateButton("",460,50 + 35 * 2,95,30)
GUICtrlCreateButton("",460,50 + 35 * 3,95,30)
GUICtrlCreateButton("",460,50 + 35 * 4,95,30)

GUICtrlCreateTab(29,29,400,340,$TCS_MULTILINE + $TCS_FIXEDWIDTH)
GUICtrlCreateTabItem("1")
GUICtrlCreateTabItem("2")
GUICtrlCreateTabItem("3")

GUISetState()

While 1
    $msg = GUIGetMsg()
    If $msg = $GUI_EVENT_CLOSE Then
        Exit
    EndIf
WEnd
oÝ÷ Ø
ãjêº^N¼®²)àiû¥­X¤x-=Ú)ë4÷a":`¢¼!jׯz»ayû¥­ò¢ìÛhq©e×ë¢kazƦyØ«yËh¯+ajÛazÇ+b²)íéí¯+ayú%"(uà%²­$²X¤zØ^­æ¬¢|¨¹Æ§ßÛlyëazÖ²'ÛyÆ®±ëaz¶êÞÂ)erÞ®Ø^z{b­æ©¥«2¢èZ½è­¶¬jg¬7³*.¬eëM8ÓE,zØ^iËnjWbéìì¡ü¨ººbrÛ«xò¢ë-Ypj{m¡Ø¬i¹^Ûaz{§r¦z{mébë§uêâ´Æ²mëaÌ"X^®¶­sb6æ6ÇVFRfÇC´uT6öç7FçG2æS2fwC° ¤uT7&VFRgV÷C´×gV÷C²ÃcÃC¤uT7G&Ä7&VFU267&DF"fײgV÷C²b3#´ÖvW2b3#´uTæ§rgV÷C²ÃÃÃcÃC£´wV7G&Å6WE7FFRÓÂb33c´uTôD4$ÄR ¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢"ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢2ÃRÃ3¤uT7G&Ä7&VFT'WGFöâgV÷C²gV÷C²ÃCcÃS²3R¢BÃRÃ3 ¤uT7G&Ä7&VFUF"#Ã#ÃCÃ3CÂb33cµD55ôÕTÅDÄäR²b33cµD55ôdTEtED¤uT7G&Ä7&VFUF$FVÒgV÷C³gV÷C²¤uT7G&Ä7&VFUF$FVÒgV÷C³"gV÷C²¤uT7G&Ä7&VFUF$FVÒgV÷C³2gV÷C² ¤uT6WE7FFR ¥vÆR¢b33c¶×6rÒuTvWD×6r¢bb33c¶×6rÒb33c´uTôUdTåEô4Äõ4RFVà¢W@¢VæD`¥tVæ

EndFuncAutoIt is the shiznit. I love it.

Share this post


Link to post
Share on other sites

Thanks for all the response but:

the picture is a background picture and i saw on the forum that i had to disable it to use it als a backgroundpicture (also the reason for these dimensions)

@MHz

GUICtrlCreateTabItem('') ; Close tabitem.

Thanks, this might be useful!

Any other ideas people?

Arjan

Share this post


Link to post
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
Sign in to follow this  
Followers 0