Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. WTHolmes

    OnBlur event and onSubmit Error Checking, how?

    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
  2. WTHolmes

    OnBlur event and onSubmit Error Checking, how?

    Feherke, Thanks for your response, but I don't understand the 2 head sections. Can you elaborate and tell me what I am doing wrong? Thanks, W. Holmes
  3. WTHolmes

    OnBlur event and onSubmit Error Checking, how?

    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...
  4. WTHolmes

    Add a Close/Done button to a listbox

    Need I say more, Bong, You Da Man! Thanks, WTHolmes
  5. WTHolmes

    Add a Close/Done button to a listbox

    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 }...
  6. WTHolmes

    Add a cancel button to my click me/click window.

    Thanks again Bong, you did it again, You Da Man!
  7. WTHolmes

    How do I close just the active window and leave the...

    Thanks! Worked like a charm!
  8. WTHolmes

    How do I close just the active window and leave the...

    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
  9. WTHolmes

    Add a cancel button to my click me/click window.

    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...
  10. WTHolmes

    I need help creating a command button...

    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...
  11. WTHolmes

    I need help creating a command button...

    Awesome!!!!!! Bong once again, you have proven yourself "Da Man!" Thank You!
  12. WTHolmes

    I need help creating a command button...

    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...
  13. WTHolmes

    I need help creating a command button...

    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...
  14. WTHolmes

    I need help creating a command button...

    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...
  15. WTHolmes

    I need help creating a command button...

    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...
  16. WTHolmes

    Can a file be read into an array?

    Thanks again! You da man!
  17. WTHolmes

    Can a file be read into an array?

    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...
  18. WTHolmes

    Can a file be read into an array?

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

Part and Inventory Search

Back
Top