NUMERIC Input mode | developer.brewmp.com NUMERIC Input mode | developer.brewmp.com

Developer

NUMERIC Input mode

Forums:

Hi all,
Iam using BREW SDK 3.1.5 . Is there any way to set the user Input mode to be NUMERIC ? I know about the API ITEXTCTL_SetInputMode ( ).But i don't want to use this API because iam creating a textbox in a IHtmlViewer.
Are there any APIs available in IShell interface to set the user input mode to be NUMERIC ? Or any other API for the same purpose ?
Any help would be greatly appreciated.
Thanks
Satish

I am trying the same thing but haven't found anything yet. I am using htmlwidget and also ihtmlviewer in some instances. Let me know if you find anything.

I am trying the same thing but haven't found anything yet. I am using htmlwidget and also ihtmlviewer in some instances. Let me know if you find anything.

satishkumar_lsk wrote:Is there any way to set the user Input mode to be NUMERIC ? I know about the API ITEXTCTL_SetInputMode ( ).But i don't want to use this API because iam creating a textbox in a IHtmlViewer.Are there any APIs available in IShell interface to set the user input mode to be NUMERIC ? Or any other API for the same purpose ?
Try IWIDGET_SetInputMode() !!!,pass the textbox pointer created and numeric input mode (AEE_TMODE_NUMBERS)

satishkumar_lsk wrote:Is there any way to set the user Input mode to be NUMERIC ? I know about the API ITEXTCTL_SetInputMode ( ).But i don't want to use this API because iam creating a textbox in a IHtmlViewer.Are there any APIs available in IShell interface to set the user input mode to be NUMERIC ? Or any other API for the same purpose ?
Try IWIDGET_SetInputMode() !!!,pass the textbox pointer created and numeric input mode (AEE_TMODE_NUMBERS)

Hi all,
Found the solution. While creating Textbox in a IHtmlViewer, we can use "istyle" attribute. This is the code for creating a Textbox with NUMERIC input mode:
istyle="4">
istyle=4 indicates NUMERIC mode. This works in BREW SDK 3.1.5 Simulator. istyle attribute is part of i-mode HTML. In QUALCOMM site, iam able to find that BREW will support cHTML ( compact HTML) which is used by i-mode devices.
Can anyone tell me whether BREW Handsets will support i-mode HTML ? or whether they(BREW Handsets) will support istyle attribute ?
Looking forward to a graceful reply.
Thanks
Satish

Hi all,
Found the solution. While creating Textbox in a IHtmlViewer, we can use "istyle" attribute. This is the code for creating a Textbox with NUMERIC input mode:
istyle="4">
istyle=4 indicates NUMERIC mode. This works in BREW SDK 3.1.5 Simulator. istyle attribute is part of i-mode HTML. In QUALCOMM site, iam able to find that BREW will support cHTML ( compact HTML) which is used by i-mode devices.
Can anyone tell me whether BREW Handsets will support i-mode HTML ? or whether they(BREW Handsets) will support istyle attribute ?
Looking forward to a graceful reply.
Thanks
Satish

istyle works with htmlviewer but not with htmlwidget. Do you know how to make it work for widgets?

istyle works with htmlviewer but not with htmlwidget. Do you know how to make it work for widgets?