;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
; SCRIPT
; LAYOUT GUI
GUICreate("Reset Settings",310,150)
Opt("GUICoordMode",2)
$CAD = GUICtrlCreateMenu ("CAD")
$CADNews = GUICtrlCreateMenuitem ("CADNews",$CAD)
$CADContact = GUICtrlCreateMenuitem ("CADContact",$CAD)
$CADIntranet = GUICtrlCreateMenuitem ("CADIntranet",$CAD)
$Text = GuiCtrlCreateLabel($msg_ger & $msg_eng, 15, 10)
$helpmenu = GUICtrlCreateMenu ("?")
$infoitem = GUICtrlCreateMenuitem ("About",$helpmenu)
$Button_1 = GUICtrlCreateButton ("Reset Settings",-250,5,100,20)
$Button_2 = GUICtrlCreateButton ( "Cancel",0, -1)
GUICtrlCreateLabel ($default_status,-258,8,306,16,BitOr($SS_SIMPLE,$SS_SUNKEN))
GUISetState ()
; INHALT GUI
While 1
$msg = GUIGetMsg()
Select
Case $msg = $GUI_EVENT_CLOSE
Exit
Case $msg = $Button_1
Msgbox(0,"About", $version & @CRLF & @CRLF & $scripter)
Case $msg = $Button_2
Exit
Case $msg = $infoitem
Msgbox(0,"About", $version & @CRLF & @CRLF & $scripter)
Case $msg = $CADIntranet
$oIE = _IECreate ($CADIntranet_Link)
_IELoadWait ($oIE)
Case $msg = $CADNews
$oIE = _IECreate ($CADNews_Link)
_IELoadWait ($oIE)
Case $msg = $CADContact
$oIE = _IECreate ($CADContact_Link, 0, 0)
_IELoadWait ($oIE)
_IEQuit ($oIE)
EndSelect
Wend
; SCRIPT ENDE
;-------------------------------------------------------------------------------
;-------------------------------------------------------------------------------
How can i change the veriable $default_status in my script? i want to do it in case when i klick on Button 1... the status bar should change imediatly
Thx for your help!