Results 1 to 6 of 6

Thread: Function in Lianja keyboard buffer read completely

  1. #1
    Senior Member
    Join Date
    Oct 2019
    Posts
    341

    Function in Lianja keyboard buffer read completely

    There is a function in Lianja that allows me to read out the keyboard buffer completely. The background is that the QR code reader transfers the information read to the keyboard buffer. I would then like to store this information in a variable. Thanks for the help. Greetings Olaf

  2. #2
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Hi Olaf,

    You can create a hidden textbox and then set focus to it when you want to scan the QR Code.

    Use the change delegate to detect completion when you hit return or Tab.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  3. #3
    Senior Member
    Join Date
    Oct 2019
    Posts
    341
    Barry, I have set field 5 hidden and when I press the QR code button, field 5 gets the focus. A message is then output and the value is transferred to field 6. This is how it works in the development environment. But when I run the program in the browser, the Field5 field is not visible, which was still in the development environment. So far correct. When I then make an entry, nothing happens. I received neither a message nor anything else. What am I missing here?
    Thanks and greetings Olaf
    Name:  bild1.png
Views: 17
Size:  21.4 KB
    Name:  bild2.jpg
Views: 19
Size:  92.0 KB

    When I run the app as a desktop it works fine. The system only doesn't respond in the browser.
    Attached Images Attached Images   
    Last edited by Schlingmeier; 2023-12-27 at 18:32.

  4. #4
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    The field that has focus when you scan will read the input.
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

  5. #5
    Senior Member
    Join Date
    Oct 2019
    Posts
    341
    Hello Barry, unfortunately I can't quite follow you. When I click on the QR button, the focus is set to input field 5, at least in the development environment. When I then use the qr scanner, the value read is also transferred to this field. But when I start the browser application, nothing happens, even though I click on the QR button first. Can you give me a tip about what I'm missing? Thanks and greetings Olaf

  6. #6
    Lianja Development Team barrymavin's Avatar
    Join Date
    Feb 2012
    Location
    UK, USA, Thailand
    Posts
    7,165
    Blog Entries
    22
    Are you able to use the scanner to read into fields in other web pages that are not in your app?
    Principal developer of Lianja, Recital and other products

    Follow me on:

    Twitter: http://twitter.com/lianjaInc
    Facebook: http://www.facebook.com/LianjaInc
    LinkedIn: http://www.linkedin.com/in/barrymavin

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Journey into the Cloud
Join us