April 2, 2011
9:14 p.m.
I have a form with several fields (a,b,c) and a button. The button should only be enabled when the cursor is in field b. How can I tell when the cursor is in that field? builder newButtonFor: self action: #openLessonListEditor getEnabled: #hasSelectedCurrentLesson label: 'Edit current lesson' help: 'Edit current lesson'. I want #hasSelectedCurrentLesson to return true only when the cursor is in field b. -- View this message in context: http://forum.world.st/Cursor-location-in-a-form-tp3422745p3422745.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.