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 "\"...
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 {...
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.