Jump to content

Hide virtual keyboard


Gianluca

Recommended Posts

Hello,

Can Anyone help me? I would like to hide keyboard on tunimedit on mobile version. It is possibile and can you give me some example.

thanks in advance

Gianluca

 

ps

hello,

thanks for reply my versione is Complete Professional 1.90.0.1511

Edited by Gianluca
unigui versione
Link to comment
Share on other sites

  • 2 weeks later...
On 4/7/2021 at 6:17 PM, Gianluca said:

Can Anyone help me? I would like to hide keyboard on tunimedit on mobile version.

 

2 hours ago, Bocchi said:

Is it possible using uniGUI Complete Professional 1.50.0.1481 ?

In which case?

You can set readOnly.

Link to comment
Share on other sites

thank very much for alla answers and sorry for delay time.

the procedure run correctrly and read barcode the problem is that al the time when the cursor is palced on tunimedit the soft keyboard of androoid i showing, and the user have to close it.

the sequence is like this:

1 the cursor is placed in tunimedit and the user read the barcode

2 the app make some operation an the end replaced the cursors on tunimedit, but a this moment the soft keyboard of android i showing and the user have to close it

thank to all for helping

Link to comment
Share on other sites


eartic is uniedit component,  in design time  ReadOnly:=true;


procedure TRecepcion.eARTICEnter(Sender: TObject);
begin
  eARTIC.ReadOnly:=false;  // Para que no salga el teclado
end;

procedure TRecepcion.eARTICExit(Sender: TObject);
begin
  eARTIC.ReadOnly:=True;  // si tocas el uniedit vuelve a salir el teclado
end;


procedure TRecepcion.eARTICKeyDown(Sender: TObject; var Key: Word;
  Shift: TShiftState);
var
begin

  if Key=VK_RETURN then
  begin
  //////////////////
 
  end;
end, 

Link to comment
Share on other sites

hi cid,

thank for your advice, the problem is the app run on android and the virtual\soft keyboard always appears after the barcode is read on operation on picking is making. if it possible don't open the soft keyboard of android.

In this project iuse unigui for mobile, thank in advance.

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
×
×
  • Create New...