Search the Community
Showing results for tags 'ipaddress input box'.
-
IpAddress Input Box visible on All Tab controls
gelmir posted a topic in AutoIt GUI Help and Support
Hi, I have simple problem. I try create GUI with tabs and when I use in one tab IpAddressInputBox then this control is visible for all tabs when I switch view. I attached example of my problem. Could you advice me how to fix this issue? Ofc i can use standard input box but I want to stay with IpadressInputBox in tab. #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <GuiIPAddress.au3> #include <StaticConstants.au3> #include <TabConstants.au3> #include <WindowsConstants.au3> #Region ### START Koda GUI section ### Form=c:\users\root\desktop\tabs.kxf $Form1_1 = GUICreate("Form1", 623, 204, 192, 114) $Tab1 = GUICtrlCreateTab(80, 40, 457, 137) $TabSheet1 = GUICtrlCreateTabItem("TabSheet1") $TabSheet2 = GUICtrlCreateTabItem("TabSheet2") GUICtrlSetState(-1,$GUI_SHOW) $IPAddress1 = _GUICtrlIpAddress_Create($Form1_1, 400, 88, 105, 17) _GUICtrlIpAddress_Set($IPAddress1, "0.0.0.0") $Button1 = GUICtrlCreateButton("Button1", 256, 80, 113, 17) $Label1 = GUICtrlCreateLabel("Label1", 256, 104, 116, 17) $Edit1 = GUICtrlCreateEdit("", 96, 80, 145, 81) GUICtrlSetData(-1, "Edit1") $Input1 = GUICtrlCreateInput("Input1", 256, 128, 105, 21) GUICtrlCreateTabItem("") GUISetState(@SW_SHOW) #EndRegion ### END Koda GUI section ### While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd