Hi,
I can have a list like:
set list1 "0055 888 889 3330"
set list2 "55 888 889 3330"
set list3 "5500 888 889 3330"
set list4 "655 888 889 3330"
set list5 "550 888 889 3330"
and a variable 55, say:
set var 55
I want to write one lserach...
Hi,
I can have a list like:
set list1 "0055 888 889 3330"
set list2 "55 888 889 3330"
set list3 "5500 888 889 3330"
set list4 "655 888 889 3330"
set list5 "550 888 889 3330"
and a variable 55, say:
set var 55
I want to write one lserach...
Hi ullis,
I apreciate your reply.
But if you look it carefully, we are converting lower case letters to upper case.
Can you please help me out with your validation procedure how I can do that.
Thanks in advance
Ram
Hi,
I had a particular binding in Tk3.6 as
set event "if \{\[ap_filter_uplownum %A \[%W get\] $length\]\} \{%W insert \[%W index insert\] \[string toupper %A\]\}"
eval bind $entry <Any-KeyPress> $event
And, procedure ap_filter_uplownum is defined as
proc ap_filter_uplownum { key...
Hello,
How to read data from a TCL socket, if their is no endof character(like \n, new line character, \r etc) are present in data.
Thanks in advance
Ram
Hi,
you can bind the call to procedure newWindow to Button-3 event of listbox
bind .t.listframe.namelist <Button-3> {#command to generate/popup new window}
for e.g. this will pop up a new toplevel
bind .t.listframe.namelist <Button-3> {toplevel .newwind}
I hope this will help you.
Question to your answer, why I "need to change the next-to-last value reported"
Since in older version of TK say 3.6 and 4.0 configure command for same code of listbox gives me
"-relief relief Relief flat raised"
and tk8.4 give
"-relief relief Relief sunken...
I had taken a configure output of a TK listbox...a relevant abstract of output is :
"............ {-highlightthickness highlightThickness HighlightThickness 1 0} {-relief relief Relief sunken raised} ............."
Now I want to change the valus for Relief property.
I want it to be...
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.