Quoting Christian Grigis <[EMAIL PROTECTED]>:

> Hello Micah,
> 
> It appears that in the input field widget (PG_WIDGET_FIELD), the arrow
> keys do not allow the user to move forwards and backwards inside the
> field, but rather to navigate among the existing widgets by moving the
> focus, similarly to what the TAB and SHIFT-TAB keys do.

Right. This is the default behavior for the arrow keys, because the field does
not override it.

> 
> In general, a user expects intuitively (or by habit with another GUI :)
> )
> to be able to move around input fields using the cursor arrows,
> whereas now it is only possible to go back by using the backspace.
> 
> Is there anything already in place to change the input field's
> behavior? If not, would that be easy to change?

Well, the short answer is no. The field widget is really a quick hack that's not
suitable for doing real text editing. However, the field widget's time is
limited... The textbox widget will have full text editing support: arrow keys,
hilighting, rich text, word wrapping- everything you'd expect and more. So, once
that's ready I will replace the existing field widget with the textbox.

Of course if you need arrow keys in the field widget right now and don't want to
wait for the working textbox, it wouldn't be hard to hack some support for them
into the field widget code.

> 
> As always, thanks in advance!
> 
> -Christian
> 
> 
> -- 
> Christian Grigis                      |       SMARTDATA SA
> Software Engineer                     |       PSE-A / EPFL
> Phone: +41-(21)-693-84-98             |       CH - 1015 Lausanne
> mailto:[EMAIL PROTECTED]  |       http://www.smartdata.ch
> 
> 
> 
> _______________________________________________
> Pgui-devel mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/pgui-devel
> 



--
Only you can prevent creeping featurism!

_______________________________________________
Pgui-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/pgui-devel

Reply via email to