TK_Incorperate Posted January 17, 2006 Share Posted January 17, 2006 Ok, well I'm creating a GUI to configure a .ini and I want to make it 450x450 pixels. This would mean that with ALL the things that are in the .ini, there would need to be a scrollbar.... However, I'm using tabs in my GUI to go from one section of the .ini to the other. I was wondering if there is any way to set a scrollbar in the tabs, so they can scroll down to get lower items in the .ini? I'm pretty sure you can create a scrollbar inside the regular window (witch I don't know how to do), but this isn't what I want, I want the scrollbar to be inside the tabs themself so it makes the GUI look a little better. Thanks in advance for any answers you may give. ~TK Link to comment Share on other sites More sharing options...
Valuater Posted January 17, 2006 Share Posted January 17, 2006 show us your script.... then we can help you use the correct format and we can visually see where and how to place code 8) Link to comment Share on other sites More sharing options...
TK_Incorperate Posted January 17, 2006 Author Share Posted January 17, 2006 (edited) show us your script.... then we can help you use the correct format and we can visually see where and how to place code 8) So far there isnt anything really to my script, but ok here it is. expandcollapse popup#include <GuiConstants.au3> If Not IsDeclared('WS_CLIPSIBLINGS') Then Global $WS_CLIPSIBLINGS = 0x04000000 GuiCreate("TK_Incorperate's Pickit Config", 500, 500,(@DesktopWidth-390)/2, (@DesktopHeight-310)/2 , $WS_OVERLAPPEDWINDOW + $WS_VISIBLE + $WS_CLIPSIBLINGS) $Setcfg=GUICtrlCreateButton ("Save Config", 420,10,70,20) $Tabs=GUICtrlCreateTab (10,10, 480,480) $Unq=GUICtrlCreateTabitem ("Uniques") GUICtrlSetState(-1,$GUI_SHOW) GuiCtrlCreateLabel("Berzerker Axe", 20, 52, 80, 20) GuiCtrlCreateCheckbox("Pick", 110, 50, 40, 20) GuiCtrlCreateCheckbox("Tele", 160, 50, 40, 20) GuiCtrlCreateLabel("Colossus Blade", 20, 72, 80, 20) GuiCtrlCreateCheckbox("Pick", 110, 70, 40, 20) GuiCtrlCreateCheckbox("Tele", 160, 70, 40, 20) GuiCtrlCreateLabel("Spiderweb Sash", 20, 92, 80, 20) GuiCtrlCreateCheckbox("Pick", 110, 90, 40, 20) GuiCtrlCreateCheckbox("Tele", 160, 90, 40, 20) GuiCtrlCreateLabel("Russet Armor", 20, 112, 80, 20) GuiCtrlCreateCheckbox("Pick", 110, 110, 40, 20) GuiCtrlCreateCheckbox("Tele", 160, 110, 40, 20) $Set=GUICtrlCreateTabitem (" Sets") $Rar=GUICtrlCreateTabitem ("Rares") $Mag=GUICtrlCreateTabitem ("Magic") $Nor=GUICtrlCreateTabitem ("Normal") $Mis=GUICtrlCreateTabitem ("Misc.") GUICtrlCreateTabitem ("") GuiSetState() While 1 $msg = GuiGetMsg() Select Case $msg = $Setcfg Then Writeini() Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else EndSelect WEnd Exit Yes i know the Writeini() function isnt there, and the check boxes arent in whatever the hell they are called (the thing with th $ lol) but that's because i can do that all in a matter of seconds, right now i'm worried just about getting the scrollbars on the tabs. ~TK Edit: Oh and if this looks small, it will end up being ALOT bigger once i finish it. I just added the checkboxes and lables on for looks to see how I'm going to set them up. Edited January 17, 2006 by TK_Incorperate Link to comment Share on other sites More sharing options...
TK_Incorperate Posted January 18, 2006 Author Share Posted January 18, 2006 lol Am I ever going to get any service on this or should i switch to another language? ~TK Link to comment Share on other sites More sharing options...
Valik Posted January 18, 2006 Share Posted January 18, 2006 Holger just added GUIRegisterMsg() to AutoIt as of 3.1.1.102. Now you can implement all the logic yourself (Handling the proper messages) using this feature. Link to comment Share on other sites More sharing options...
TK_Incorperate Posted January 19, 2006 Author Share Posted January 19, 2006 Holger just added GUIRegisterMsg() to AutoIt as of 3.1.1.102. Now you can implement all the logic yourself (Handling the proper messages) using this feature.I don't get how messages have to do with scroll-bars...??? Link to comment Share on other sites More sharing options...
Valik Posted January 19, 2006 Share Posted January 19, 2006 You think things work by magic, then? Link to comment Share on other sites More sharing options...
TK_Incorperate Posted January 19, 2006 Author Share Posted January 19, 2006 You think things work by magic, then?Nope, and I'm not trying to be an ass if it seemed like it. I just don't get what messages have to do with scrollbars, I'm trying to figure that out that's why I asked.~TK Link to comment Share on other sites More sharing options...
Valik Posted January 19, 2006 Share Posted January 19, 2006 Everything GUI-related has to do with messages. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now