April 3, 2011
6:13 a.m.
I will check if b has the focus, no? Hilaire Le 02/04/2011 23:14, DougEdmunds a écrit :
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.
-- Education 0.2 -- http://blog.ofset.org/hilaire