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, 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...
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.