Jump to content

Search the Community

Showing results for tags 'TabSheet'.

  • 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 2 results

  1. Hi guys, i have a question about TabSheet: #include <GUIConstantsEx.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> $GUI = GUICreate("Test GUI", 413, 273, 210, 151) GUISetIcon("", -1) $PageControl1 = GUICtrlCreateTab(8, 8, 396, 256) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") $TabSheet2 = GUICtrlCreateTabItem("TabSheet2") $TabSheet3 = GUICtrlCreateTabItem("TabSheet3") GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $TabSheet2 MsgBox(0,0,"Test") EndSwitch WEnd I want to set, when user click on TabSheet2, a event, in this case i have make a simply MsgBox. But case not work. How to set an event when click on TabSheet2? Thanks for support EDIT. A second and last question. Is see now Ctrl+TAB don't change the Tab position like windows. How to set it? Thanks
  2. This is koda generated code. There is one commented line, ";_GUICtrlIpAddress_ShowHide($IPAddressBox, @SW_HIDE)". If it is commented out, the control appears on all tabs, whatever my tab selection. It it's not commented out, _GUICtrlIpAddress_ShowHide($IPAddressBox, @SW_SHOW) in the $TabSheet2 case does not make it reappear. I suppose it is hidden behind the tab. Is there a way to make this work? The code: #include #include #include #include #include #include #include #Region ### START Koda GUI section ### Form= $frmSelPrinter = GUICreate("X Coon Select Printer", 578, 351, 192, 124) $Tab1 = GUICtrlCreateTab(8, 8, 561, 329) $TabSheet1 = GUICtrlCreateTabItem("Use Windows Drivers") $lbPrinters = GUICtrlCreateList("", 24, 64, 529, 214) $Label1 = GUICtrlCreateLabel("Available Windows Drivers :", 24, 40, 136, 17) $btnSelectDriver = GUICtrlCreateButton("Select Driver", 24, 288, 137, 33) $TabSheet2 = GUICtrlCreateTabItem("use LPR") GUICtrlSetState(-1,$GUI_SHOW) $rbWinDrv = GUICtrlCreateRadio("Send jobs through Windows driver", 24, 48, 201, 17) $Radio1 = GUICtrlCreateRadio("Send jobs to an IP address", 288, 48, 201, 17) $lbWinDrivers = GUICtrlCreateList("", 24, 96, 241, 175) $IPAddressBox = _GUICtrlIpAddress_Create($frmSelPrinter, 296, 96, 249, 25) _GUICtrlIpAddress_Set($IPAddressBox, "0.0.0.0") ;_GUICtrlIpAddress_ShowHide($IPAddressBox, @SW_HIDE) $Label2 = GUICtrlCreateLabel("IP Address :", 288, 72, 61, 17) $Label3 = GUICtrlCreateLabel("Available Windows Drivers :", 24, 72, 136, 17) $btnSelDriver = GUICtrlCreateButton("Select Driver", 24, 296, 129, 25) $Button1 = GUICtrlCreateButton("Accept IP Address", 432, 296, 113, 25) GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit case $TabSheet1 ;case added outside of koda to allow switching tabs _GUICtrlIpAddress_ShowHide($IPAddressBox, @SW_HIDE) case $TabSheet2 ;case added outside of koda to allow switching tabs _GUICtrlIpAddress_ShowHide($IPAddressBox, @SW_SHOW) EndSwitch WEnd
×
×
  • Create New...