Yse,the freewrap software turned the script into an exe file.When I use the exe file ,the Chinene characters I used in the submenubutton cannot correctly showed.It is random code.
hi,all
I have wraped my tcl file use freewrap55,but the Chineses characters
in the menubutton is random code.
$caidan add command -label "»ù±¾¶¯×÷°´Å¥" -command "helpact"
The other characters correct.
THANKS
Hi,all
I have craeted the exe file,but it can not open the image ,can someone give me a reason?
Error sourcing /freewrap55/robotcar.tcl: couldn't open "/tk/demos/images/Lb1.gif": no such file or directory
thanks
Hi,all
image create photo image1a -file [file join $tk_library demos images Lb1.gif]
Above is part of my program.The first time I ran it in
the program.It works well.But when I saved it and open it
again,it can not work.
Error:cannot read "tk_library":no such variable...
Hi,all
I want to draw a picture on the button,but the button in the program can not change its form .
The width(height) can not change.
set w .main
toplevel $w
button $w.1 -width 20 -height 5 -relief ridge -text ""
set c $w.1.frame.c
frame $w.1.frame
pack $w.1.frame
canvas $c...
Now,I list part of my program below:
proc end {} {
set w .main
set w2 $w.two
global c number x1 x2 y i i1 i2
global del1 ins1 ins2 ins4 y1
if {$ins4==1} {
set y [expr ($ins1-1)*20+5]
set i $ins1
set number $ins1
set ins4 0
} elseif...
What I mean when you press the OK button in your program
it spring out another frame with an entry widget and a button( for example dismiss),when I press dismiss the frame
springed out will disappeared.
I want to insert a button after a button(for example,I thougt there need a button betwen 3 and 4). Now my time is limited,I have to better the interface,but I need the insert function.I am a novice in programing.
hi,all
First,thanks very much for ulis's help that time.Now I can't realize the insert function.Can someone help me?
I want to insert a button in the desinged location and work for it a long time but fialed.
The program is bolow:
# proc bgerror (to see what happens behind the scene)
proc...
What I want is when I press a button it spring out a frame
with an entry in another window.And after I input the variable in the entry widget,I can dismiss it press a button
{for ezample ok).
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.