Hi Henrik,

activeFocusOnPress was added as a convenience property for a behavior that we 
didn't want to be hard-coded into TextInput (the same is true for 
selectByMouse). The idea was that as a "basic" element, TextInput should be 
flexible enough for people to experiment with and define new ways of handling 
text interaction, while still making it easy to turn on "standard desktop 
behavior" where needed. (Using a long press or double-click to activate text 
editing, or having an "edit" button next to the field to begin the editing 
might be some examples of where you'd want to disable activeFocusOnPress).

Regards,
Michael

On 29/10/2010, at 11:29 PM, ext 
henrik.ha...@nokia.com<mailto:henrik.ha...@nokia.com> wrote:

Hi,

what is the use-case for 
http://doc.qt.nokia.com/4.7-snapshot/qml-textinput.html#activeFocusOnPress-prop?
 Is it a different way of setting read-only? Which use-cases would you want to 
disable active focus when clicking into a textinput?

Cheers,
Henrik
<ATT00001..txt>

_______________________________________________
Qt-qml mailing list
Qt-qml@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-qml

Reply via email to