Jump to content
Sign in to follow this  
Insolence

Gui: Input Boxes Inside Tabs Unclickable?

Recommended Posts

Insolence

;Script generated by AutoBuilder 0.4


Opt("GUICoordMode", 1)
Opt("GUINotifyMode", 1)
GUICreate ( "D2BS SimplifyIT", 213, 691, 0, 0, 0x04CF0000 )
GUIDefaultFont (8, 400, "Verdana")

             ;GUISetControl ( type, "text", left, top [,width [,height [,style [,exStyle]]] )
              
$Header_Tab = GUISetControl("tab", "My TAB!!!", 0, 2, 213, 250, 0x0100)
  $tabitem_1 = GUISetControl("tabitem", "Status", 0, 0, 0, 0)

  $tabitem_2 = GUISetControl("tabitem", "Config", 0, 0, 0, 0)
    $Account_NameLabel = GuiSetControl("label", "Account Name ",  3, 30)
    $Account_NameInput = GuiSetControl("input", "Test", 92, 27, 115, 20)

    $CharacterLabel = GuiSetControl("label", "Character ",  3, 51)
    $CharacterInput = GuiSetControl("input", "", 92, 48, -1, -1)

    $DifficultyLabel = GuiSetControl("label", "Difficulty ",  3, 72)
    $DifficultyInput = GuiSetControl("input", "", 92, 69, -1, -1)

    $Game_PrefixLabel = GuiSetControl("label", "Game Prefix ",  3, 114)
    $Game_PrefixInput = GuiSetControl("input", "", 92, 111, -1, -1)
    
    $Game_PassLabel = GuiSetControl("label", "Game Pass ",  3, 135)
    $Game_PassInput = GuiSetControl("input", "", 92, 132, -1, -1)
    
    $PathLabel = GuiSetControl("label", "Path to d2",  3, 177)
    $PathPassInput = GuiSetControl("input", "", 92, 174, -1, -1)
    
    $FolderLabel = GuiSetControl("label", "Folder of d2",  3, 198)
    $FolderInput = GuiSetControl("input", "", 92, 195, -1, -1)
    
    $Key_DelayLabel = GuiSetControl("label", "Key delay (ms)",  3, 240)
    $Key_DelayInput = GuiSetControl("input", "", 92, 237, -1, -1)
    
    $TimeoutLabel = GuiSetControl("label", "Timeout (ms)",  3, 261)
    $TimeoutInput = GuiSetControl("input", "", 92, 258, -1, -1)
    
  $tabitem_3 = GUISetControl("tabitem", "Error Log", 0, 0, 0, 0)
  
$tab_close = GUISetControl("tabitem","",-99,-99,1,1) ;close tab


GuiShow()

While 1
    sleep(100)
    $msg = GuiMsg(0)
    Select
      Case $msg = -3
          Exit
      Case $msg = 0
         ;;;
      Case $msg = $Header_Tab
         ;;;
      Case $msg = $tabitem_1
         ;;;
      Case $msg = $tabitem_2
         ;;;
      Case $msg = $tabitem_3
         ;;;
    EndSelect
WEnd
Exit

The only way I can get to the input's is if I press the 'tab' key... the mouse cannot select them.

Edited by Insolence

"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
Insolence

I'm an ass, if someone could move this to the GUI support forum (forgot about it)


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

Share this post


Link to post
Share on other sites
Insolence

Figured it out, nm :ph34r:


"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark TwainPatient: "It hurts when I do $var_"Doctor: "Don't do $var_" - Lar.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.