View Single Post
Old 04-23-2008, 04:43 AM   #6 (permalink)
racsus
Thumbs Must Hurt
 
Join Date: Feb 2008
Model: 8310
PIN: N/A
Carrier: Informatico
Posts: 56
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, I have add this code:

Field tmp;
String aviso;
tmp = this.getFieldWithFocus();
aviso = tmp.getAccessibleDescription();
Dialog.inform(aviso);

But the code aviso = tmp.getAccessibleDescription(); is incorrect for obtain the text of the focus field, I have studied the javadoc of Field but I don't find anything, What is the correct property for obtain the field's text?

Thanks, Oscar
Offline   Reply With Quote