erezlevi Posted January 18, 2008 Share Posted January 18, 2008 hi, how can i remove a tool tip after processing is done in the background? expandcollapse popupCase $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) Link to comment Share on other sites More sharing options...
BigDod Posted January 18, 2008 Share Posted January 18, 2008 When you want to remove the tooltip use ToolTip("") MrVietA2 1 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 Link to comment Share on other sites More sharing options...
erezlevi Posted January 18, 2008 Author Share Posted January 18, 2008 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? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now