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 gkittelson 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. charlie007

    How to define a binary number

    Nevermind, figured it out. Needed -translation {binary binary} on fconfigure.
  2. charlie007

    How to define a binary number

    I can not figure out how to define a hex number 80 I'm using this: set hexb [binary format H* 80] I am sending $hexb as part of a string to serial port (see program below). I put on serial port monitor and see 3F as the data. Don't know why 80 is not being sent, yet [format %2X [scan $hexb %c]]...
  3. charlie007

    tk entry usage

    Would you give me an example of creating an entry and a button in the "." window? Whatever I tried is not working.
  4. charlie007

    tk entry usage

    Is there any way to use the root window in a looping fashion like my app is doing witha secondary window? I can't even get past the tkwait because tkwait is waiting for the destroy of the window and once I do that the app is also destroyed.
  5. charlie007

    tk entry usage

    I got around the problem by changing focus $w.e to focus -force $w.e Don't know why that worked, is it the proper way to fix?
  6. charlie007

    tk entry usage

    Thanks Bong. Everything was working ok until I commented the tk_messageBox. Now the 2nd time and subsequent times that the entry window is opened there is no focus and the box. This sits in an endless loop sending some data to the com port. How do I get the focus on the entry window? set...
  7. charlie007

    tk entry usage

    Thanks sh00der. Before I saw your post I had figured out the tkwait but a little different than your example. Here's the code now and a couple of questions. __________________________________________ # set max length set length 2 # validation proc proc vcmd {length d s S} {...
  8. charlie007

    tk entry usage

    I am just statrting to learn tk. I have some experience with tcl on linux and now I am working on winxp. All I want to do is enter some text and have it echoed back with tk_messageBox. The problem: the entry box appears, but does not wait for me to enter any text. Do I need a bind to...

Part and Inventory Search

Back
Top