Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 03:32

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



tabsheet problem

Discussion on tabsheet problem within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2009
Posts: 542
Received Thanks: 112
tabsheet problem

hi,

ich hab ein sehr kleines problem und das ist: ich möchte wenn tabsheet 2 angezeigt wird eine msbox erscheint.

hier einmal zu verdeutlichung:


PHP Code:
#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>
#Region ### START Koda GUI section ### Form=
$Form1 GUICreate("Form1"615440192124)
$Tab1 GUICtrlCreateTab(6440497385)
$TabSheet1 GUICtrlCreateTabItem("TabSheet1")
$TabSheet2 GUICtrlCreateTabItem("TabSheet2")
GUICtrlCreateTabItem("")
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###

While 1
    
if $tabsheet2 true then msgbox(0,"","") ; das funktioniert nartülich nicht


$nMsg 
GUIGetMsg()
    Switch 
$nMsg
        
Case $GUI_EVENT_CLOSE
            
Exit

    EndSwitch
WEnd 
maxi39 is offline  
Old 11/21/2010, 12:45   #2
 
ZeraPain's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 360
Received Thanks: 249
Code:
#include <GUIConstantsEx.au3>
#include <TabConstants.au3>
#include <WindowsConstants.au3>

$Form1 = GUICreate("Form1", 615, 440, 192, 124)
$Tab1 = GUICtrlCreateTab(64, 40, 497, 385)
GUICtrlCreateTabItem("TabSheet1")
GUICtrlCreateTabItem("TabSheet2")
GUISetState(@SW_SHOW)

While 1
    Switch GUIGetMsg()
        Case $GUI_EVENT_CLOSE
            Exit
	Case $Tab1
		If GUICtrlRead($Tab1) = 1 Then
			MsgBox(0,0,0)
		EndIf

    EndSwitch
WEnd
ZeraPain is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
überprüfen ob ein tabsheet offen ist
08/06/2010 - AutoIt - 8 Replies
also kurz gesagt: ich habe mehrere tabsheet´s und würde gerne wissen, wie manns überprüft, welches grade "an" ist... hab schon neweile gesucht, aber nix brauchbares gefunden... mfg
Koda -> frage Tabsheet
04/01/2009 - GW Bots - 10 Replies
Hallo ich habe eine Frage. Ich hatte mal Lust mir ein kleines GUI zu erstellen Nun ja ich weiß nicht was ich machen soll damit er was anderes anzeigt wenn ich zb tabsheet 1 oder 2 klicke deswegen habe ich erst einmal 2 völlig unabhängige geschaffen udn das andere sollte eig als tabsheet in das andere mit rein nun ja ich zeige euch mal die koda codes... Ach ja es geht mir wie ich es im KODA schaffe im Code weiß ich wie es geht...! 1. #include <GUIConstants.au3>
kleine hilfe pls :D TabSheet
02/22/2008 - Guild Wars - 3 Replies
Hi, ich will TabSheets nicht neben einander sondern so das 2 reihen sind eine Oben und eine Unten. Auf dem Screen soll es nich so sein das nur eine Reihe ist, sondern so das z.B. "Bot Edit und About, Bot Help" in 2ter reihe liegen und "Bot Function und Bot Addon Function" in 1ter reihe liegen. Siehe Screen* Und dann noch eine frage wie functioniert das mit "ScriptDir" in einer GUI. Wenn ich z.B. "Hintergrund grafik einfügen will und jemand anderes der sich dann den Bot aufn rechner packt...



All times are GMT +1. The time now is 03:32.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.