Hi there...
I wanna check the length of a combobox editable value... when writing...
I thought was simple but the only way to check combobox value is after pressing enter !
Tried and keypressed ... but the same...
Tried Timer the same too...
Any IDEA - can i check it with javaobject or something (the editable value) ?
I wanna check the length of a combobox editable value... when writing...
I thought was simple but the only way to check combobox value is after pressing enter !
B4X:
Sub fromwhere_ValueChanged (Value As Object)
Dim s As String
s=Value
If s.Length<1 Then
CSSUtils.SetBackgroundColor(fwc, fx.Colors.red) 'fwc is a kind of lamp (act.label) :-)
End If
If s.Contains(fromwhereold.Trim)=False Then
CSSUtils.SetBackgroundColor(fwc, fx.Colors.red)
End If
End Sub
Tried and keypressed ... but the same...
Tried Timer the same too...
Any IDEA - can i check it with javaobject or something (the editable value) ?