huayichen / simple

Automatically exported from code.google.com/p/simple
0 stars 0 forks source link

Disabled TextFields can be edited #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When a text field is disabled (Enabled = False) it cannot be edited over 
the keyboard, but if you point on such a field, then the on-screen 
keyboard appears and the field can be edited (although not enabled).

Can be reproduced with the following simple Simple program.
- Dominik

$Properties
$Source $Form
$Define Test $As Form
Layout = 1
Layout.Orientation = 1
$Define t $As TextBox
Enabled = False
Width = Component.LENGTH_FILL_PARENT
$End $Define
$End $Define
$End $Properties

Original issue reported on code.google.com by dominik....@gmail.com on 6 Aug 2009 at 12:50

GoogleCodeExporter commented 8 years ago
I fixed this by disallowing focusability when disabled. Nevertheless I think 
this is rather an Android cupcake 
problem.

Original comment by simpleco...@gmail.com on 13 Aug 2009 at 10:43