Jump to content
Sign in to follow this  
erezlevi

removing toolTIP

Recommended Posts

hi,

how can i remove a tool tip after processing is done in the background?

Case $msg1 = $button6
                        ToolTip ("processing please wait...",30,30,"Processing...")
                        $gui2 = GUICreate("9620 - SpDial", 980, 660, 10,10)
                        GUISetIcon("c:\ring.ico")
                        Opt("GUICoordMode", 1)
                        GUICtrlCreateLabel("please insert new lables and Numbers then press change", 10, 10)
                        GUICtrlCreateLabel("you can only modify first 100 entries!", 10, 30)
                    ;$button6 = GUICtrlCreateButton("Change", 250, 10)
                        $Appand10 = $firstinput1 & $firstinput
                        $Appand11 = "_96xxdata.txt"
                        $Appand12 = $Appand10 & $Appand11
                        FileOpen($Appand12, 1) ; for getting the current lables if any for each lable.
                        _FileReadToArray($Appand12, $myArray)
                    ;_ArrayDisplay ($9620Array)
                        For $o = 1 To 250
                            $F[$o] = _ArraySearch($myArray, "ABKNAME" & $E[$o], 0, 0, 1, True)
                        Next
                        For $o = 1 To 250
                            $L[$o] = FileReadLine($Appand12, $F[$o])
                        Next
                        $p=60
                        For $o=1 to 29
                            GUICtrlCreateLabel ("Entry"&$o,15,$p,70,15)
                            $p=$p+20
                        Next
                        
                        GUISetState()
                        While 1
                            $msg2 = GUIGetMsg()
                            Select
                                Case $msg2 = $GUI_EVENT_CLOSE
                                    GUIDelete($gui2)
                                    ExitLoop
                            EndSelect
                        WEnd
                        
                    Case $msg1 = $GUI_EVENT_CLOSE
                        GUIDelete($gui1)
                        ExitLoop
                        
                EndSelect
            WEnd

This is only part of a larg script, I only need to remove the ToolTIP after the GUI is displayed because it takes 3 sec to load...(the GUI)

Share this post


Link to post
Share on other sites

When you want to remove the tooltip use ToolTip("")



Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

When you want to remove the tooltip use ToolTip("")

Thanks, it works, just another question:

I usally use Progress bar by creating a new GUI and then deltes it. but , for some reason I can't get two GUI's opened together why is that?

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...