Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
Display a value in an entry box

Posted by paolillo (paolillo), 29 May 2006
Dear TCL/TK developers,

I have built a graphical interface that gets values in entry boxes to be saved in a particular configuration file. My desire is to give to the user already a value written in each entry box, when he invokes again the GUI. He should be able to change it obviously. The most useful thing would be that the displayed values are the values that were set in the end of the previouse session. This thing is important, so the user can have two information: 1) a suggestion about the type of value that each parameter wants; 2) information about the values that are currently set.

The point 1) is for me now the most important, so my question is: how can I display a value in an entry box at the very beginning of a session of my GUI?

Thank You very much  ,

Paolo

Posted by admin (Graham Ellis), 29 May 2006
I normally use entry boxes with textvariables, so:

set initial "Start With This"
entry .ebox -textvariable initial



Posted by paolillo (paolillo), 29 May 2006
Thank You,
i realize it was a stupid question!
Paolo

Posted by admin (Graham Ellis), 29 May 2006
Ah, but it is NOT stupid if you haven't happened to read pages 200 to 202 of a textbook you've probably not got

I'm very happy indeed to answer questions such as this - just occasionally a bit terse as at times I'm doing so from poor and expensive internet connections - this week, for example, I'm teching in Saudi Arabia and using a hotel modem!

Posted by neo (The Architect), 30 May 2006
Do you go that far to teach? Is it for students or corporate?


Posted by admin (Graham Ellis), 30 May 2006
on 05/30/06 at 07:45:18, The Architect wrote:
Do you go that far to teach? Is it for students or corporate?


I'm limited only by work visa and safety issues ... and the facts that we have to charge travel expenses to the people I train, and that the courses are in English.  So I have turned down Iraq, and I've not been able to provide courses much closer to home in some European countries where the course has to bein the local language.   But, sure, I've visited 4 continents as a result of our business and trained on 3.

The distant courses tend to be arranged by individual customer organisations, for groups of their delegates.   Single delegates often travel to our centre in the UK.




This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2014: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 899360 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho