Gianluca Posted April 7, 2021 Share Posted April 7, 2021 (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 April 7, 2021 by Gianluca unigui versione Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2021 Share Posted April 7, 2021 Hello, First of all please specify, which edition and build of UniGUI are you using? Link to comment Share on other sites More sharing options...
Bocchi Posted April 21, 2021 Share Posted April 21, 2021 Is it possible using uniGUI Complete Professional 1.50.0.1481 ? Link to comment Share on other sites More sharing options...
Sherzod Posted April 21, 2021 Share Posted April 21, 2021 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 More sharing options...
Bocchi Posted April 21, 2021 Share Posted April 21, 2021 I have a barcode scanner that needs to write in a TUnimEdit so I can't put it as read only. Link to comment Share on other sites More sharing options...
Sherzod Posted April 21, 2021 Share Posted April 21, 2021 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? Link to comment Share on other sites More sharing options...
Bocchi Posted April 22, 2021 Share Posted April 22, 2021 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. Link to comment Share on other sites More sharing options...
Gianluca Posted April 25, 2021 Author Share Posted April 25, 2021 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 More sharing options...
cid Posted April 25, 2021 Share Posted April 25, 2021 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 More sharing options...
Gianluca Posted April 26, 2021 Author Share Posted April 26, 2021 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 More sharing options...
Bocchi Posted May 18, 2021 Share Posted May 18, 2021 I have the same problem. Have you found a solution? Thanks. Link to comment Share on other sites More sharing options...
Kattes Posted June 27, 2021 Share Posted June 27, 2021 Hi there, I had exactly the same problem and solved it simply by using FullyKioskBrowser (https://www.fully-kiosk.com/). Here you can switch off the Popup Keyboard next to other hundreds of individual settings. Good luck! Link to comment Share on other sites More sharing options...
Recommended Posts