First  |  Prev |  Next  |  Last
Pages: 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
tk scrollbar command
All, I am having a tk scrollbar widget and added a callback to the "- command" option. In linux if click on the scrollbar arrows (up or down) the callback is getting called recursively until i double click outside the widget. In windows it is properly(only once) getting called. Is there any focusing issue on lin... 3 Feb 2010 15:07
difference between ** operator and pow?
Hi, I wanted to know the difference if any between using the following expressions. I am getting different results. The manual says any valid numeric operands are supported. It seems only positive operands are supported. $ tclsh % set exp -7 -7 % set result [expr 2**$exp] 0 % set result [expr 2**(-1*$exp)]... 2 Feb 2010 15:10
One more idiot "button -command" question
Hi everyone! I pass months studying Tcl and I still get stuck on those small things. For example, I read that using inline scripts for the "- command" option in buttons is not recommended and may be deprecated in future versions of Tk. So, with this rule in mind, I tried to play with an unknown handler which ... 2 Feb 2010 23:36
socket flushing/buffering problem, app hangs on close
I've written a TCL app that receives data from a single TCP source and distributes this data to multiple TCP receivers using a very simple ASCII protocol. The server is non-blocking using TCL's event loop. Most of the receivers are not under my control and sometimes behave poorly. This means I don't have access to ... 2 Feb 2010 15:10
ActiveState`s documentation question
Hello, I`ve read on the wiki, that tdbc was bundled with tcl 8.6. I tried to look for any documentation of its usage in ActiveState`s documentation for their package but there seems to be none :( By the way, any idea why latest ActiveState packages comes with tcllib 1.10 (at least their documentation says s... 2 Feb 2010 21:58
simulation question
This isn't a tcl question per se but I'm am writing it in tcl and this is a knowledgeable newsgroup, so here goes: Part of a simulation I'm writing requires an event to occur on the average of say every 10 seconds. I'm currently using set when [expr {5 + 10*rand()}] But I'd prefer a better distribution a... 2 Feb 2010 15:09
Cannot acces to a DB v8.1.6.0 throug a dblink
Hi, I'm on RedHat 5.0. Installed on this server : Oracle client 10g oractcl 4.4 + applications written in TCL. This applications acces the Oracle Database correctly (V8.1.7.0), but i dont't work with Oracle DB V8.1.6.0 (client 10g can't connect to this old oracle DB) So, il created a DBLink to try to solve ... 2 Feb 2010 15:09
Gridplus2 definning keyboard event
I have following toolbar, i would like to bind keyboad Control+F key to bring focus on .toolbar,find-string entry widget. gridplus button .toolbar -style Toolbutton { {.add :actredo16 "?Clear Results" ~ClearGrid} \ | {.find :viewmag16 "Find" 10 ~Toolbar:Find} {&e .find- string 32 ~Tool... 2 Feb 2010 15:10
Gridplus2 Notebook Widget Page Focus Event
Hi, My app uses a notebook widget with multiple pages. I would like to call a proc when specific notebook page is selected. Any hints as to how i might achieve this? Thanks in advance. ... 2 Feb 2010 15:09
TCOM error
I work with TclTk 8.4.13 on WinXP and use TCom for create/open/edit an Excel files. The below script is working well, but suddenly yesterday it crashed. set application [::tcom::ref createobject "Excel.Application"] set workbooks [$application Workbooks] set workbook [$workbooks Open $fileName] $application Vi... 2 Feb 2010 15:09
First  |  Prev |  Next  |  Last
Pages: 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73