Sign in to follow this  
Followers 0
Infinitex0

Gui help

15 posts in this topic

I'm making a script that has a gui that has buttons that open other gui's that have buttons that so far just open message boxes. The problem is that whenever I press a button in the first gui nothing happens. :o anyone know why this happens?

#include <GUIconstants.au3>

GUICreate("Title1")
$var1 = GUICtrlCreateButton("button1", 0, 0)
$var2 = GUICtrlCreateButton("button2", 50, 0)
$var3 = GUICtrlCreateButton("button3", 100, 0)
GUISetState(@SW_SHOW)

While 1
    $var4 = GUIGetMsg()
    Select
         Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var1
        GUICreate("Title2")
        $var5 = GUICtrlCreateButton("button4", 0, 0)
        GUISetState(@SW_SHOW)
    EndSelect
    WEnd

        While 1
    $var4 = GUIGetMsg()
    Select
    Case $var4 = $GUI_EVENT_CLOSE
        Exit
    
    Case $var4 = $var5
MsgBox(4096, "Title3", "Text1" & @CRLF & @CRLF & "text2" & @CRLF & @CRLF & "text3" & @CRLF & @CRLF & "text4" & @CRLF & @CRLF & "text5" & @CRLF & @CRLF & "text6")
EndSelect
WEnd

Select
Case $var4 = $var2
    GUICreate("Title4")
$var6 = GUICtrlCreateButton("button5", 76, 249)
$var7 = GUICtrlCreateButton("button6", 155, 75)
$var8 = GUICtrlCreateButton("button7", 250, 247)
$var9 = GUICtrlCreateButton("button8", 155, 300)
GUICtrlCreatePic("Pic1", 100, 100)
GUISetState(@SW_SHOW)
EndSelect
WEnd

While 1
    $var4 = GUIGetMsg()
    Select
         Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var6
            MsgBox(4096, "Title4", "text")
        Case $var4 = $var7
            MsgBox(4096, "Title5", "text")
        Case $var4 = $var8
            MsgBox(4096, "Title6", "text")  
        Case $var4 = $var9
            MsgBox(4096, "Title7", "text")      
            EndSelect
WEnd        
        
Select
Case $var4 = $var2      
Guicreate("Title5")
$var4 = GUICtrlCreateButton("button9",0, 0)
        GUISetState(@SW_SHOW)
    EndSelect
    WEnd
        While 1 
            $var4 = GUIGetMsg()
            Select
            Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var5
        MsgBox(4096, "Title6", "text")
    EndSelect
    WEnd

The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

I'm making a script that has a gui that has buttons that open other gui's that have buttons that so far just open message boxes. The problem is that whenever I press a button in the first gui nothing happens. :o anyone know why this happens?

I am not sure what you wanted but your script had some issues. I have corrected and it appears to work, but I am still new to this and would not want to be wrong. See what you think.

#include <GUIconstants.au3>

GUICreate("Title1")
$var1 = GUICtrlCreateButton("button1", 0, 0)
$var2 = GUICtrlCreateButton("button2", 50, 0)
$var3 = GUICtrlCreateButton("button3", 100, 0)
GUISetState(@SW_SHOW)

While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var1
            GUICreate("Title2")
            $var5 = GUICtrlCreateButton("button4", 0, 0)
            GUISetState(@SW_SHOW)
    EndSelect
WEnd

While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
            
        Case $var4 = $var5
            MsgBox(4096, "Title3", "Text1" & @CRLF & @CRLF & "text2" & @CRLF & @CRLF & "text3" & @CRLF & @CRLF & "text4" & @CRLF & @CRLF & "text5" & @CRLF & @CRLF & "text6")
    EndSelect
WEnd

Select
    Case $var4 = $var2
        GUICreate("Title4")
        $var6 = GUICtrlCreateButton("button5", 76, 249)
        $var7 = GUICtrlCreateButton("button6", 155, 75)
        $var8 = GUICtrlCreateButton("button7", 250, 247)
        $var9 = GUICtrlCreateButton("button8", 155, 300)
        GUICtrlCreatePic("Pic1", 100, 100)
        GUISetState(@SW_SHOW)
EndSelect
;WEnd

While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var6
            MsgBox(4096, "Title4", "text")
        Case $var4 = $var7
            MsgBox(4096, "Title5", "text")
        Case $var4 = $var8
            MsgBox(4096, "Title6", "text")
        Case $var4 = $var9
            MsgBox(4096, "Title7", "text")
    EndSelect
WEnd

Select
    Case $var4 = $var2
        Guicreate("Title5")
        $var4 = GUICtrlCreateButton("button9",0, 0)
        GUISetState(@SW_SHOW)
EndSelect
;   WEnd
While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var5
            MsgBox(4096, "Title6", "text")
    EndSelect
WEnd

*******EDIT*******

Button number 1 is the only button that will bring up second GUI

Edited by nitekram

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

You put while 1 loops around all of the codes.... u should put Functions around those loops....

So you know what they are... and can get to them.. because as of know. it only stays in the first loopm, and will not go to any of the other ones.

While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var1
            GUICreate("Title2")
            $var5 = GUICtrlCreateButton("button4", 0, 0)
            GUISetState(@SW_SHOW)
    EndSelect
WEnd

your code will not go past that.

------

here is another example...

While 1
Wend

While 1
MsgBox(0, "", "")
WEnd

;That message box will never show up, because we are stuck in that continuous loop, the first one....

;but you can do this
While 1
sleep(1000)
MyFunction()
Wend

Func MyFunction()
;Do whatever u want ur function to do...
EndFunc

also look at GUISwitch() in the help file...

That will switch the gui's so $msg will listen for whatever in the GUI that you made popup...

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

you mind explaining that in idiot.

Edited by Infinitex0

The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

lol. sure...

okay..

;the following code is an infinite loop. it will go forever until it is told to stop.

While 1
WEnd

;This is how you exit the loop.

While 1
;Goto Function
MyFunction()
;or just exit
ExitLoop
WEnd

;The code you had... stayed inside the loop...
;so this is the only thing that happened...

While 1; the top.
;you code as here
;you code as here
;you code as here
;you code as here
Wend; Goes back to the top, and starts over... so it never reaches the other code you had in your program...
Edited by CHRIS95219

Share this post


Link to post
Share on other sites

Chris, I think that's enough posts in a row. I would hope after 279 posts you're aware of the edit button....

Share this post


Link to post
Share on other sites

need it in a little stupider format.


The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Do you have msn messenger? yahoo? i can better explain it to u on their...

To make a custom function

Func FunctionName($param1, $param2, $paramN)

;code to do whatever

EndFunc

and then u can call your own function by doing...

FunctionName($param1, $param2, $paramN)

then whatever else u want....

A While loop, loops the code within it, until you tell it when to stop... their are different ways to Tell it to stop...

Example 1:

While 1

;do something

If $var = $whatever then ;if a variable equals something u want it to, then exit the loop.

ExitLoop

EndIf

Wend

Example 2:

While 1

;do something

If $var = $whatever then ;if a variable equals something u want it to, then exit the loop.

MyFunc()

EndIf

Wend

their are a bunch of different ways to do it....

Edited by CHRIS95219

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

well actually I understand the loop part, but I have no idea what-so-ever how to write the function to fix my problem.

EDIT: morely(probably not correct spelling), what to write for the function to exit the loop or something similar to that. I understand the formatting perfectly however.

Edited by Infinitex0

The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]

Share this post


Link to post
Share on other sites

oh.... i thought u did'nt know about the loop.. so i wrote all that for nothing? lol.

You put While 1 and WEnd around parts of your code, that looks like they should be seperate functions... ex.

While 1

$var4 = GUIGetMsg()

Select

Case $var4 = $GUI_EVENT_CLOSE

Exit

Case $var4 = $var6

MsgBox(4096, "Title4", "text")

Case $var4 = $var7

MsgBox(4096, "Title5", "text")

Case $var4 = $var8

MsgBox(4096, "Title6", "text")

Case $var4 = $var9

MsgBox(4096, "Title7", "text")

EndSelect

WEnd

This looks like it could be in a function...

Func Messages()

While 1

$var4 = GUIGetMsg()

Select

Case $var4 = $GUI_EVENT_CLOSE

Exit

Case $var4 = $var6

MsgBox(4096, "Title4", "text")

Case $var4 = $var7

MsgBox(4096, "Title5", "text")

Case $var4 = $var8

MsgBox(4096, "Title6", "text")

Case $var4 = $var9

MsgBox(4096, "Title7", "text")

EndSelect

WEnd

EndFunc

That way, you can call it from your other loop...

Share this post


Link to post
Share on other sites

well actually I understand the loop part, but I have no idea what-so-ever how to write the function to fix my problem.

EDIT: morely(probably not correct spelling), what to write for the function to exit the loop or something similar to that. I understand the formatting perfectly however.

This is really sloppy and I am sure it could be cleaned up - but I am new to programming and thought I would try and to it.

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:        nitekram
;
; Script Function:
;   GUI Testing
;
; ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <GUIconstants.au3>
Global $var1, $var2, $var3, $var4, $var6, $var7, $var8, $var9, $var10


GUICreate("Title1")
$var1 = GUICtrlCreateButton("button1", 0, 0)
$var2 = GUICtrlCreateButton("button2", 50, 0)
$var3 = GUICtrlCreateButton("button3", 100, 0)
GUISetState(@SW_SHOW)

While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var1
            GUICreate("Title2")
            $var5 = GUICtrlCreateButton("button4", 0, 0)
            GUISetState(@SW_SHOW)
            _click_button4()
        Case $var4 = $var2
            _make_title4()
        Case $var4 = $var3
            _make_title5()
        ;_click_button9()
            
            
    EndSelect
WEnd

func _make_title4()
    Select
        Case $var4 = $var2
            GUICreate("Title4")
            $var6 = GUICtrlCreateButton("button5", 76, 249)
            $var7 = GUICtrlCreateButton("button6", 155, 75)
            $var8 = GUICtrlCreateButton("button7", 250, 247)
            $var9 = GUICtrlCreateButton("button8", 155, 300)
        ;GUICtrlCreatePic("Pic1", 100, 100)
            GUISetState(@SW_SHOW)
            _click_title4_button()
    EndSelect
EndFunc  ;==>_make_title4

func _make_title5()
    Select
        Case $var4 = $var3
            Guicreate("Title5")
            $var10 = GUICtrlCreateButton("button9",0, 0)
        ;GUICtrlCreatePic("Pic1", 100, 100)
            GUISetState(@SW_SHOW)
            _click_button9()
    EndSelect
    
    
EndFunc  ;==>_make_title5
;   WEnd





Func _click_button4()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
                
            Case $var4 = $var5
                MsgBox(4096, "Title3", "Text1" & @CRLF & @CRLF & "text2" & @CRLF & @CRLF & "text3" & @CRLF & @CRLF & "text4" & @CRLF & @CRLF & "text5" & @CRLF & @CRLF & "text6")
        EndSelect
    WEnd
EndFunc  ;==>_click_button4

Func _click_title4_button()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
            Case $var4 = $var6
                MsgBox(0, "button5-Title4", "text")
            Case $var4 = $var7
                MsgBox(0, "button6-Title5", "text")
            Case $var4 = $var8
                MsgBox(0, "button7-Title6", "text")
            Case $var4 = $var9
                MsgBox(0, "button8-Title7", "text")
        EndSelect
    WEnd
EndFunc  ;==>_click_title4_button

Func _click_button9()
    while 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
            Case $var4 = $var10
                MsgBox(0, "Title6", "text")
        EndSelect
    WEnd
EndFunc  ;==>_click_button9

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

Share this post


Link to post
Share on other sites

This is really sloppy and I am sure it could be cleaned up - but I am new to programming and thought I would try and to it.

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:        nitekram
;
; Script Function:
;   GUI Testing
;
; ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <GUIconstants.au3>
Global $var1, $var2, $var3, $var4, $var6, $var7, $var8, $var9, $var10
GUICreate("Title1")
$var1 = GUICtrlCreateButton("button1", 0, 0)
$var2 = GUICtrlCreateButton("button2", 50, 0)
$var3 = GUICtrlCreateButton("button3", 100, 0)
GUISetState(@SW_SHOW)

While 1
    $var4 = GUIGetMsg()
    Select
        Case $var4 = $GUI_EVENT_CLOSE
            Exit
        Case $var4 = $var1
            GUICreate("Title2")
            $var5 = GUICtrlCreateButton("button4", 0, 0)
            GUISetState(@SW_SHOW)
            _click_button4()
        Case $var4 = $var2
            _make_title4()
        Case $var4 = $var3
            _make_title5()
    ;_click_button9()
            
            
    EndSelect
WEnd

func _make_title4()
    Select
        Case $var4 = $var2
            GUICreate("Title4")
            $var6 = GUICtrlCreateButton("button5", 76, 249)
            $var7 = GUICtrlCreateButton("button6", 155, 75)
            $var8 = GUICtrlCreateButton("button7", 250, 247)
            $var9 = GUICtrlCreateButton("button8", 155, 300)
    ;GUICtrlCreatePic("Pic1", 100, 100)
            GUISetState(@SW_SHOW)
            _click_title4_button()
    EndSelect
EndFunc ;==>_make_title4

func _make_title5()
    Select
        Case $var4 = $var3
            Guicreate("Title5")
            $var10 = GUICtrlCreateButton("button9",0, 0)
    ;GUICtrlCreatePic("Pic1", 100, 100)
            GUISetState(@SW_SHOW)
            _click_button9()
    EndSelect
    
    
EndFunc ;==>_make_title5
;   WEnd
Func _click_button4()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
                
            Case $var4 = $var5
                MsgBox(4096, "Title3", "Text1" & @CRLF & @CRLF & "text2" & @CRLF & @CRLF & "text3" & @CRLF & @CRLF & "text4" & @CRLF & @CRLF & "text5" & @CRLF & @CRLF & "text6")
        EndSelect
    WEnd
EndFunc ;==>_click_button4

Func _click_title4_button()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
            Case $var4 = $var6
                MsgBox(0, "button5-Title4", "text")
            Case $var4 = $var7
                MsgBox(0, "button6-Title5", "text")
            Case $var4 = $var8
                MsgBox(0, "button7-Title6", "text")
            Case $var4 = $var9
                MsgBox(0, "button8-Title7", "text")
        EndSelect
    WEnd
EndFunc ;==>_click_title4_button

Func _click_button9()
    while 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
            Case $var4 = $var10
                MsgBox(0, "Title6", "text")
        EndSelect
    WEnd
EndFunc ;==>_click_button9
their ya go... good job.

Share this post


Link to post
Share on other sites

THANK YOU!!!, CHRIS95219 and Nitekram :o:geek:;):sorcerer::huggles::zorro:


The below statement is False.The above statement is True.a lesson I learned from Greenmachine; give a man a code and he'll solve one problem. Teach a man to code and he'll solve all his problems.P.S please don't use autoIt as a virus creator/spyware maker(keyLogger especially)Cick this and help me[center]My Scripts:[/center][center]Port Scanner[/center]

Share this post


Link to post
Share on other sites

it was all nitekram... :o

If you want the subwindow to close the whole program take out the call back to _main() and remove the comment tag.

; ----------------------------------------------------------------------------
;
; AutoIt Version: 3.1.0
; Author:        nitekram
;
; Script Function:
;   GUI Testing
;
; ----------------------------------------------------------------------------

; Script Start - Add your code below here

#include <GUIconstants.au3>
Global $var1, $var2, $var3, $var4, $var5, $var6, $var7, $var8, $var9, $var10, $var11, $running = 1


; starting function call
While $running = 1
    $running = _main()
WEnd


Func _main()
    GUICreate("Title1")
    $var1 = GUICtrlCreateButton("button1", 0, 0)
    $var2 = GUICtrlCreateButton("button2", 50, 0)
    $var3 = GUICtrlCreateButton("button3", 100, 0)
    GUISetState(@SW_SHOW)
    
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                Exit
            Case $var4 = $var1
                GUICreate("Title2")
                $var5 = GUICtrlCreateButton("button4", 0, 0)
                GUISetState(@SW_SHOW)
                _click_button4()
            Case $var4 = $var2
                _make_title4()
            Case $var4 = $var3
                _make_title5()
            ;_click_button9()
                
                
        EndSelect
    WEnd
    
    Return 1
EndFunc  ;==>_main


Func _make_title4()
    Select
        Case $var4 = $var2
            GUICreate("Title4")
            $var6 = GUICtrlCreateButton("button5", 76, 249)
            $var7 = GUICtrlCreateButton("button6", 155, 75)
            $var8 = GUICtrlCreateButton("button7", 250, 247)
            $var9 = GUICtrlCreateButton("button8", 155, 300)
        ;GUICtrlCreatePic("Pic1", 100, 100)
            GUISetState(@SW_SHOW)
            _click_title4_button()
    EndSelect
EndFunc  ;==>_make_title4

Func _make_title5()
    Select
        Case $var4 = $var3
            GUICreate("Title5")
            $var10 = GUICtrlCreateButton("button9", 0, 0)
        ;GUICtrlCreatePic("Pic1", 100, 100)
            GUISetState(@SW_SHOW)
            _click_button9()
    EndSelect
    
    
EndFunc  ;==>_make_title5
;   WEnd





Func _click_button4()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                _main();Exit
                
            Case $var4 = $var5
                MsgBox(4096, "Title3", "Text1" & @CRLF & @CRLF & "text2" & @CRLF & @CRLF & "text3" & @CRLF & @CRLF & "text4" & @CRLF & @CRLF & "text5" & @CRLF & @CRLF & "text6")
        EndSelect
    WEnd
EndFunc  ;==>_click_button4

Func _click_title4_button()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                _main();Exit
            Case $var4 = $var6
                MsgBox(0, "button5-Title4", "text")
            Case $var4 = $var7
                MsgBox(0, "button6-Title5", "text")
            Case $var4 = $var8
                MsgBox(0, "button7-Title6", "text")
            Case $var4 = $var9
                MsgBox(0, "button8-Title7", "text")
        EndSelect
    WEnd
EndFunc  ;==>_click_title4_button

Func _click_button9()
    While 1
        $var4 = GUIGetMsg()
        Select
            Case $var4 = $GUI_EVENT_CLOSE
                _main();Exit
            Case $var4 = $var10
                MsgBox(0, "Title6", "text")
        EndSelect
    WEnd
EndFunc  ;==>_click_button9

All by me:

"Sometimes you have to go back to where you started, to get to where you want to go." 

"Everybody catches up with everyone, eventually" 

"As you teach others, you are really teaching yourself."

From my dad

"Do not worry about yesterday, as the only thing that you can control is tomorrow."

 

WindowsError.gif

WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF

AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send

StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2

AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit  Docs

SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF

Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language

Programming Tips

Excel Changes

ControlHover.UDF

GDI_Plus

Draw_On_Screen

GDI Basics

GDI_More_Basics

GDI Rotate

GDI Graph

GDI  CheckExistingItems

GDI Trajectory

Replace $ghGDIPDll with $__g_hGDIPDll

DLL 101?

Array via Object

GDI Swimlane

GDI Plus French 101 Site

GDI Examples UEZ

GDI Basic Clock

GDI Detection

Ternary operator

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