Sign in to follow this  
Followers 0
DSChaos

Scrollbars on Tabsheet?

1 post in this topic

#1 ·  Posted

Hello to everyone, today i am here why i have a problem, or better to say, i don't know how to Use the Scrollbars on a TabSheet, obliviously if is possible. I will use this code as example:

 

#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#include "GUIScrollbars_Ex.au3"
#Region ### START Koda GUI section ### Form=
$Form1 = GUICreate("Form2", 691, 461, 251, 165)
$MenuItem1 = GUICtrlCreateMenu("MenuItem1")
$Exit = GUICtrlCreateMenuItem("Exit", $MenuItem1)
$Tab1 = GUICtrlCreateTab(8, 0, 681, 433)
$TabSheet1 = GUICtrlCreateTabItem("TabSheet1")
$TabSheet2 = GUICtrlCreateTabItem("TabSheet2")
$TabSheet3 = GUICtrlCreateTabItem("TabSheet3")
GUICtrlCreateTabItem("")
$hTab = GUICreate("t1", 780, 400, 10, 150, $Form1)
if @error Then MsgBox(0,"",@error)
_GUIScrollbars_Generate($hTab_Win0, 0, 2000)
GUISetState(@SW_SHOW, $Form1)
GUISetState(@SW_SHOW, $hTab)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###


While 1
    $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit

    EndSwitch
WEnd

I don't understand how to do it....

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  
Followers 0