Jump to content

Recommended Posts

Posted (edited)

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
  • 2 weeks later...
Posted
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.

Posted
44 minutes ago, Bocchi said:

I have a barcode scanner that needs to write in a TUnimEdit so I can't put it as read only.

What is your sequence of actions?

Posted

Barcode scanner works in keyboard emulation and put the carriage return char at end of barcode.
In OnKeyUp event of TUnimEdit, when Key = VK_RETURN, I check the barcode string.

Posted

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

Posted


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, 

Posted

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.

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