Hi Mark,
Unless I am doing something wrong, I can't get the code to work properly. It's supposed to check that all fields have data. It's also supposed to check the karma number when it losses focus (onBlur).
Thanks,
W. Holmes
Hi Guys,
I am trying to create my first web form. I have the code below, but am stuck trying to make sure that all fields have data using onSubmit. Is it better to validate fields on submission or once they are keyed in?
I am also having trouble with the onBlur command. I have created a...
Hi Folks,
I am creating a listbox as shown below. I would like to include a close or done button which will close the list box after it is viewed. Can you help me with this?
proc list_box {} {
listbox .l
pack .l -side top
.l insert 0 Cherry
.l insert 0 Green Apple
.l insert 0 Blueberry
}...
Hi Guys,
Can someone tell me how to close the active window and leave any other windows including the main window, open? I have been using the "exit" command but as you know, that closes everything.
Thanks,
WTHolmes
Howdy,
It's me again. I would like to add a cancel button to the right of the click me/clicked button that Bong created. This cancel button will close the tp1 window, leaving just the main window open. I have included code below to make it easier.
I want to thank you in advance, with your...
Hi Bong,
It's me again. I would like to add a cancel button to the right of the click me/clicked button that you created. This cancel button will close the tp1 window and leaving just the main window open. I have included your code below to make it easier.
I want to thank you in advance...
Thank You agan Bong,
I guess I am just stupid, I still can't get it to work. So I thought I would give you what I have and maybe you can help me get it working.
Thanks again,
WTHolmes
proc menu_clicked { no opt } {
tk_messageBox -message \
"You have clicked $opt.\nThis function is not...
Thanks Again Bong,
Maybe I am doing something wrong. I am brand new to Tcl/Tk I thought it would be a good starting point for GUI programming. I cut and paste your code into a text document and saved it with a .tl extension and ran it with Wish. I got nothing but a blank Wish window on the...
Thank You Bong,
In the event that execution is suspended, I would like to go with a "click-pause" solution. After the button is clicked, I would like the button's text to change from "Click me" to "Clicked" after a few seconds, I would like it to "reset" itself by changing the text back to...
Hi, I am returning to the well; this time I am trying to:
1. Create a command button, which will launch a dialog box.
2. The dialog box will have two buttons.
3. When you move the cursor over the button the text on
the button will change from one thing to another and
stay that way...
I would like to first thank feherke for a very concise and timely response. Thank You! And, no, this is not MY homework.
Now, I would like to understand better, exactly what you have done. Like I said, I am new to Tcl/Tk and I've spent over an hour trying to figure out exactly what is going...
Hi, as you have probably already guessed from my question, I am fairly new to programming and brand new to TCL/TK.
I am trying to write a TCL program which will read in a file, one line at a time, into an array. Once that line is read into the array, I would then need to use the 'array size'...
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.