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 Wanet Telecoms Ltd 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: *

  1. godatguitar

    Problems with exec (file from within another file)

    Hi I need to open up a file from within another file. I am doing the following: if {$test == "1"} { exec Error.tcl} Whats wrong, I know its exec, and I know that the file is located in the same directory as the current file, and I have tried various "/" or "\&quot...
  2. godatguitar

    Button Configure & command problem

    Hi I have started a new thread for this as I wasnt getting much of a reply in a different one - Hope you dont mind: Here is the code for a button I have made, that will export the variable $result to an external file..... : button $f.b -text "Submit Answers" -command {...
  3. godatguitar

    How to export to an external file - please help!

    HI All I need to send some vaules, (one is called 'mark') to an external file. I.e The value of 'mark' = 16, i need 16 to be in another blank file, possibly a txt file or something. Basically, each of my programs will add another integer/binary value to this file, and another program will read...
  4. godatguitar

    Closing a tcl window - wish84 problem

    Hey all I have a problem, which i understand is quite common amongst tcl programmers.... When i close a tcl window using the 'X' in the top right corner, wish84 is still active and using memory resources. I need to do either of the following: a) disable the 'X' command so that when pressed...
  5. godatguitar

    Images - Hpw to

    Hello again I need to place some gif/jpg images into my program but am completely unsure of how to do it. I used to use visual tcl til i gave up all hope of getting ANYTHING working, and the code this generates does not work. All i need is like: image [....[d:/ok.gif] Is there any packages i...
  6. godatguitar

    Reloading(?) radiobuttons & variables

    OOps, forgot i have another question that has been bugging me: My project is a multiple choice test using radiobuttons: When a button (submit) is pressed at the bottom of the page, i want the radiobuttons to "HIGHLIGHT" the correct answers, ie modify the text to change colour or...
  7. godatguitar

    Gloabal variables

    Hi All Firstly, many thanks to all of you who have helped me. I am well underway with my project now! I have a small, probably easy question regarding global variables: I need a variable to be accessed by 2 proc's, called mark. Where do i declare this variable, and how do i declare it? It...
  8. godatguitar

    Loading BWidgets library

    Hi I am very new to tcl, as you are prob aware due to my previous posts! LOL :) Anyway, I have been trying to build a scrollable window in which i can place some radiobuttons and labels/messages for a test type-thing.(LOL) I intend to group the radiobuttons together so that the user can chose...
  9. godatguitar

    Scrollbar canvas not working

    Hi I have a scrollbar that is attached to the canvas, and the scrollbar resizes itself correctly to the size of canvas, and the scrollregion, and the bar itself scrolls nicely. However, it does not scroll the canvas with it. The canvas does not move at all. I am completely stuck, as i am new to...
  10. godatguitar

    Newbie - Scrollable canvas not working

    Hi I am very new to tcl, so sorry if this is a stupid question... I have a canvas that I have attached the vertical scrollbar to, and i have set the scrollregion to 0 0 0 800. When running the program, the scrollbar moves correctly, but the canvas does not move at all, and it seems that the...

Part and Inventory Search

Back
Top