Page 1 of 1

[RPG]KeyboardShowMode for barcode element

Posted: Tue Mar 06, 2018 3:52 pm
by MegumiSawada
Hi,

Is it possible to use KeyboardShowMode:HIDDEN for barcode element?

I would like to set focus programmatically to a barcode element on the formview after last scan completes.
However, if I set focust on the barcode programmatically, software keyboard will be shown automatically.
I would like to stop this behavior.

I would like to make Longrange to show keyboard only when I touch on the barcode element box(not the scan icon).

I'm using iPhone. I hope I can receive any advice to acheive this.

Best Regards,
Megumi

Re: [RPG]KeyboardShowMode for barcode element

Posted: Wed Mar 07, 2018 1:13 pm
by jasonzhou
Unfortunately, this feature is only available on Android when KeyboardShowMode = ONREQUEST.

Is it ok not programmatically setting the focus to barcode element?

Re: [RPG]KeyboardShowMode for barcode element

Posted: Tue Mar 13, 2018 3:08 pm
by MegumiSawada
Hi Jason,

Thank you for your reply.
I don't get what you mean in the last sentence...
> Is it ok not programmatically setting the focus to barcode element?
What do you mean?

Best Regards,
Megumi Sawada

Re: [RPG]KeyboardShowMode for barcode element

Posted: Tue Mar 13, 2018 4:33 pm
by jasonzhou
Hi Megumi,

You said you'd like to set focus programmatically to a barcode element after scan completes, I'm just wondering what's the purpose of this?

I think If you don't set HasFocus to True after scan completes, the keyboard won't appear.

Thanks
Jason

Re: [RPG]KeyboardShowMode for barcode element

Posted: Tue Mar 13, 2018 6:33 pm
by MegumiSawada
Hi Jason,

I will use AsReader with LongRange, and after scanning (& showing the formview) I would like to keep scannig with trigger switch of AsReader.
At that time, the forcus need to be located on the barcode element. So I'm setting HasFocus to the barcode element.

Is there any way to acheive my requirement?

Best Regards,
Megumi Sawada

Re: [RPG]KeyboardShowMode for barcode element

Posted: Thu Mar 15, 2018 9:27 am
by jasonzhou
If there is only one barcode element, it will get scanned value even if no focus on it.

If there is two or more barcode elements, the one with Scanner.AsReader.AutoConnect = True can get scanned value.