Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Focus for saveTk entry (or text) under Win XP

0 views
Skip to first unread message

CK

unread,
Jan 6, 2002, 12:24:39 PM1/6/02
to
Hello,

has anyone the knowledge to give an entry-field (or text-field) the
input-focus in an
safeTk application under Windows XP ?

I try this:
======

wm title . "Master"

set emb [frame .emb -container 1]
pack $emb

##############################

safe::interpCreate TNM

safe::loadTk TNM
## safe::loadTk TNM -use $emb

TNM eval { entry .txt }
TNM eval { button .btn -text "OK" }
TNM eval { pack .txt .btn }

The result is an Tclet (embeded or not in the Master application), but with
missing
focus for the entry field (the button works)

Under Linux this is not a problem.

Thank you for help !

Best regards
Christian

0 new messages