Why can't I use the spinbox widget in wish 8.3.2.4?
I'm using Welch's scrpits (example 34-7 in the book) but the error log says: invalid command name "spinbox"
Doesn't this version of wish support spinboxes?
Sorry but it doesn't work. This is the script I'm using, try to run it if you want:
proc datumveld {} {
toplevel .datumvak
entry .datumvak.datum -textvariable var
button .datumvak.bevestig -text "dit is goed" -command save
pack .datumvak.datum
pack .datumvak.bevestig
proc...
Does sombody know how to save the contents of an entry widget. I can save the contets of a text widget but with an entry widget it doesn't work.
This is how I do it with a text widget:
text .branche.t -wrap none
button .branche.menubalk.save -text "save" -command {save}
proc save {...
Hello I'm trying to use a variable , wich I've declared in "script a", in a procedure wich I'm sourcincing with the source command.
set uniek [clock seconds]
source "H:\\usr\\local\\Text invulvak klantnaam.tcl"
klantnaam
}
The problem is that I won't get the uniek variable...
Hello I'm trying to automatic save the contents of a textwidget. Thisis the code I'm fighting with:
proc Vraagstukoverzicht {} {
set f [toplevel .overzicht]
frame $f.one
label $f.titel -text "Vraagstuktitel"
text $f.invoertitel -width 20 -height 1 -relief sunken...
Hello I've got my filename generator working.
Now I want to run a procedure from another (Tcl)program. I think it's possible with the namespace imoprt command but I can't figure out how to.
Does somebody know how to do this or does somebody has another idea?
02/09/2004
Hello, can somebody tell me how I should generate a filename automatically. I want to use the date of that excact moment and the first three letters of a predefined string.
I hope somebody can help me with this.
GrtZ,
Theo
Yes it was, I also found out how to work it. I've tried it before but I didn't convert the \ in to a /. I've just copied the path from the properties screen.
Either way, thanks for your reply!
Hello I'm a beginning programmer. I want to know how to run/execute a program, like the (MS)internet explorer, with a Tcl procedure.
It should be possible but I can't figure out how to do it. Can somebody help me with this?
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.