Training, Open Source computer languages

This is page http://www.wellho.net/forum/The-Tcl- ... guage/Display-a-value-in-an-entry-box.html

Our email: info@wellho.net • Phone: 01144 1225 708225

 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
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.

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