Dr Kiffer Posted October 18, 2005 Share Posted October 18, 2005 Hello, I've got a window with two tabs. After clicking a button in tab1 i want to read some lines from a text file and display the result in tab2. I did not find a way to manag after clicking the Button to display a dynamic content in an other tab. Can someone help me? Greetz Danny Link to comment Share on other sites More sharing options...
/dev/null Posted October 19, 2005 Share Posted October 19, 2005 Can someone help me?1.) It would help if you post the code you have so far.2.) check out GUICtrlSetData().CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Nuffilein805 Posted October 19, 2005 Share Posted October 19, 2005 do you want the whole text or just a part of it? my little chatmy little encryption toolmy little hidermy unsafe clickbot Link to comment Share on other sites More sharing options...
/dev/null Posted October 19, 2005 Share Posted October 19, 2005 do you want the whole text or just a part of it?whatever you think is needed to understand the problem. Please don't post the whole script if it's very large. I'm not going to read it CheersKurt __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Dr Kiffer Posted October 20, 2005 Author Share Posted October 20, 2005 Sorry that my post comes so late! Here some Code I've got till now expandcollapse popup#include <GuiConstants.au3> ; GUI GuiCreate("test", 400, 400) GuiSetIcon(@SystemDir & "\mspaint.exe", 0) ; MENU $filemenu = GUICtrlCreateMenu ("&File") $fileitem = GUICtrlCreateMenuitem ("Open",$filemenu) $filesave = GUICtrlCreateMenuitem ("Save",$filemenu) $exititem = GUICtrlCreateMenuitem ("Exit",$filemenu) ; TAB GuiCtrlCreateTab(10, 10, 380, 350) $shares=GuiCtrlCreateTabItem(" Shares ") GuiCtrlCreateLabel("test1", 50, 50) GuiCtrlCreateLabel("test2", 50, 100) GuiCtrlCreateLabel("test3", 50, 150) GuiCtrlCreateLabel("test4", 50, 200) GuiCtrlCreateLabel("test5", 50, 250) $printer=GuiCtrlCreateTabItem(" Printer ") $internet=GuiCtrlCreateTabItem(" Internet ") GUISetState () While 1 $msg = GUIGetMsg() If $msg = $fileitem Then $file = FileOpenDialog("Choose file...",@MyDocumentsDir,"ini (*.ini)") $ini=IniReadSection ( $file, "shares" ) For $i = 1 To $ini[0][0] ; After Klicking the open Button the content of the ini file should be display under Printer Tab! Next EndIF If $msg = $GUI_EVENT_CLOSE Or $msg = $exititem Then ExitLoop EndIf WEnd GUIDelete() After Clicking the Open dialog @ the menu the content of an ini file should be displayd at the printer tab! Can u help me? thx greetz Danny 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