Jump to content

Recommended Posts

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 post
Share on other sites

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.

#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 by TK_Incorperate
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
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...