[Pharo-project] Issue 3280 in pharo: Focus indicator for pluggable text morphs not correctly drawn

pharo at googlecode.com pharo at googlecode.com
Tue Nov 23 14:55:02 CET 2010


Comment #9 on issue 3280 by gazzaguru2: Focus indicator for pluggable text  
morphs not correctly drawn
http://code.google.com/p/pharo/issues/detail?id=3280

You'll need this too to allow return key when filter has focus to do the ok  
action...

newFilterEntry
	"Answer a new filter entry field."

	|entry|
	entry := self
		newAutoAcceptTextEntryFor: self
		getText: #filter
		setText: #filter:
		getEnabled: nil
		help: 'Filters the options according to a matching substring' translated.
	entry acceptOnCR: false.
	entry textMorph crAction: (MessageSend receiver: self selector: #ok).
	^entry





More information about the Pharo-project mailing list