Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: stewang
  • Order by date
  1. stewang

    eliminate {}

    Hello: Thanks for you came here, I known how to do already.
  2. stewang

    eliminate {}

    Hello all: I 'd like to ask a question that how to eliminate the { } from a string. For example, a string like { how are you } I'd like the result like as following how are you I tried the command like set string " { how are you } " set data [ split $string "{" ] set...
  3. stewang

    save .txt file

    Thanks you come to my question, I known the answer alredy
  4. stewang

    save textfile

    Thanks you come to my question, I known the answer alredy
  5. stewang

    append a string to filename

    Thanks you come to my question, I know the answer alredy rgds stewang
  6. stewang

    save .txt file

    Hello all: In my application, I read a .txt and write to another .txt file. But I 'd like to do some change for my application. The first one is that I want bring out a dialog box for save file instead of the default .txt name. I tried to use the command of "set $thefile [tk_getSaveFile]...
  7. stewang

    save textfile

    Hello all: In my application, I'd like to add a special condition to my file application that if we load and save a special file which is "mylibrary.txt"(just do special thing for this file), I will do something special for it, If I load or save the rest of file, they just do the...
  8. stewang

    change colour of menu item and a dialog box for menu iem

    Hello all: Thanks for you come to my question, I decide to give up this problem, I think it is not very good idea for my application. Thanks rgds stewang
  9. stewang

    search file

    Sorry, I make you confuse. My question is how to search a file If I don't known which directory the file is belong to. For example, if I try to looke for the file of " test.tk " , but I don't where they are,or I am not sure I have this file or not, then I go to the function of search...
  10. stewang

    global varible

    Thanks Bong, I think I prefer the first one. rgds stewang
  11. stewang

    change colour of menu item and a dialog box for menu iem

    Hell all: In my application, I'd like my menu items of "open" and "save" from the menu of file to have lightgrey colour, but after a new window pop up which from the menu item of "newwindow" under the menu of "window", then they will change to dark colour...
  12. stewang

    append a string to filename

    Hello all: I'd like to append a string to a filename when I save a file. For example, I want to save a file of test.tk to another directory, and I give a new name for the old file which calls newtest.tk. After I save the file, I want to the new file has a string append it, format like...
  13. stewang

    search file

    Hello all: Could anyone tell me how to pop a dialog box for search a file, please. Thanks rgds stewang
  14. stewang

    global varible

    Hello all: In my application, I'd like to go to my desire directory when I click on different menu item, For example, If I click on the favorite of the menu item, I will go to "/home/stewang/Favourite ", for type of music will go to the path of the...
  15. stewang

    Hello all: I try to load mutiple f

    Hello all: I try to load mutiple file name from a folder to a listbox, and save mutiple file name from list box to a directory, But I failed for that, I trid to use foreach,and a option -mutiple for getOpenFile and getSaveFile, but it does nothing. Could anyone help me please. Thanks rgds...
  16. stewang

    right mouse click

    Thanks ulis, I am sorry that I misunderstood what you said, and I tyied to find some reference meterial from website. Thanks for your time. rgds stewang
  17. stewang

    right mouse click

    Hello ulis: I am very Sorry, I still can not solve the problem. I added the command of the &quot;bind . <3> { tk_getOpenFile }&quot; to my code. When I open the file dialog box and click right mouse on it, it doesn't work. But after I load a contains of file on to the window, if I right click...
  18. stewang

    right mouse click

    Hello all: I want to have a right mouse click when I click on a dialog box, but I don't known why my code can not work. Would anyone help me, please. Thanks rgds stewang proc openFile {} { # use the built in file selection dialog set filename [tk_getOpenFile] bind filename...
  19. stewang

    create a folder in dersire path

    Thanks ulis, it does work. rgds Stewang
  20. stewang

    create a folder in dersire path

    Hello all: I got some problem as following, could anyone help me to solve the problem.Thanks. How can I create and delete a directory in my desire path and open a folder in my desire path. And how can I check a directory whether exist or not . I am using linux for my application now. For...

Part and Inventory Search

Back
Top