From: Joe Collins Date: 2011-09-06T22:07:04+09:00 Subject: Re: TkEntry - how do I read/capture what was typed? below is the relevant section of my code entry1 = TkEntry.new(root) { } entry2 = TkEntry.new(root) do show '*' end variable1 = TkVariable.new variable2 = TkVariable.new entry1.textvariable = variable1 entry2.textvariable = variable2 variable1.value = "" variable2.value = "Enter any confidential value" @myVar = TkVariable.new @entry1.textvariable(@myVar) #<=givbes undefined method @myEntry = @myVar.value entry1.place('height' => 25, 'width' => 150, 'x' => 10, 'y' => 10) entry2.place('height' => 25, 'width' => 150, 'x' => 10, 'y' => 40) Tk.mainloop -- Posted via http://www.ruby-forum.com/.