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 strongm 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: *

  • Users: sl1200mk2
  • Content: Threads
  • Order by date
  1. sl1200mk2

    Tcl_LinkVar

    hello everybody, does this functions can allow me to reflect in Tk the value of a c variable? thanks nicolas
  2. sl1200mk2

    rectangle canvas as a scale

    hi all i would like to have a canvas who act like a scale for example: a rectangle is displayed on entering with the mouse on a scrollregion, a text show a value -from (x) -to (x), growing when mouse go up, and decreasing when mouse go down. how can i do that? many thanks nicolas
  3. sl1200mk2

    search and destroy.....

    hi i'm looking for a way to do this job: i've got +1 +2 +3 +4 +5 +6 -2 -4 i want 1 3 5 6 or +1 +4 +6 +3 +5 +2 -1 -3 want 4 6 5 2 any ideas are welcome thanks nicolas
  4. sl1200mk2

    counter

    hi there i would like to use the following counter proc for many scales. it works for one but how can i do for several ones.... the spinbox value is the time of counting in ms any idea? many thanks nicolas #!/bin/sh wm title . "go" namespace eval var { variable valp "" variable vals ""...
  5. sl1200mk2

    using exec

    hi there does someone can explain me how to deal with the exec command. i'm running mac osx version of tcl. i'm using tcl as a gui for a program who runs with no-gui, so i need to launch the program when i launch the tcl script. the name of the no-gui program is pd. when i use exec...
  6. sl1200mk2

    bind buttonpress

    hi bong i don't know how to set a variable to 100 on buttonpress and back to 0 on buttonrelease if i put 2 bind: bind . <ButtonPress-1> [set x 100] bind . <ButtonRelease-1> [set x 0] nothing happen when i click...... what do u think about that? ++ nico
  7. sl1200mk2

    another scale label

    hi bong hi others i'm still using your proc for displaying many scale (a little bit modified). i've just remove a part for the < 10 number (now, the only choice is x*10) here's the proc proc MakeSub {} { #a frame for the scales destroy $Dlightsub::local pack [frame...
  8. sl1200mk2

    colors for line of a text widget

    hi how to give a color red for a line of a textwidget selected with [lindex [split $k \n] $spin] where $k is the text and $spin is the selected line ?? thanks nico
  9. sl1200mk2

    counter

    hi all can anybody post a counter proc exemple i would like the counter take the "count result" value as the initial value for a next count. for exemple count to 10 in 100ms: 0 1 2 .... 10 count to 60 in 200 ms 10 11 ...... 60 count to 5 in 50 ms 60 59 58 ..... 6 5 count to 23 in 150 ms 5...
  10. sl1200mk2

    float manipulation

    hi i receive from a socket a list of number 0 0.1 0.2 0.3 ..... 0.9 1 1.1 1.2 1.3 ...... and i would like to form it like 0.0 0.1 0.2 ..... 0.9 1.0 1.1 1.2 every time a non-decimal number is received, append it .0 that's my request best regards nico
  11. sl1200mk2

    string manipulation

    hi all how to deal with that here's the string step0mem0time-in0time-out0delay-in0delay-out0wait0nullstep1mem1time-in2time-out2delay-in0delay-out0wait0nullstep2mem2time-in2time-out2delay-in0delay-out0wait1null i would like to get step 0 mem 0 time-in 0 time-out 0 delay-in 0 delay-out 0 wait 0...
  12. sl1200mk2

    a little proc...

    here's an xml file: <PDContainer type="h_list"> <element> <s>step</s> <f>0</f> <s>mem</s> <f>0</f> <s>time-in</s> <f>0</f> <s>time-out</s> <f>0</f> <s>delay-in</s> <f>0</f> <s>delay-out</s>...
  13. sl1200mk2

    xml

    hi all can anybody explain me a little bit more xml..... i've a xml file like this : <?xml version="1.0" encoding="ISO-8859-1" ?> <!DOCTYPE PDContainer SYSTEM "http://grh.mur.at/software/pdcontainer_simple.dtd"> <PDContainer type="h_list"> <element> <s>mem</s> <f>0</f>...
  14. sl1200mk2

    display many scale....

    hi all i've got a script who create x scale (depends of demand) i would like to display 10 scale per lines. if i ask for 15 scale, i would like to display 10 and 5 under the 10 if i ask for 100, i would like to display 10 rang og 10 scale here's my code frame .0 pack .0 -side left -fill x...

Part and Inventory Search

Back
Top