Hardware v3.55 - ShowNumericSIP function

Erel

B4X founder
Staff member
Licensed User
Longtime User
A new method named ShowNumericSIP was added to the hardware library.
Calling this method will show the soft input panel in numeric mode.
To return to the default mode you should call ShowDefaultSIP.
This code is based on Alex Feinman code: Switching Input Panel into numeric mode - OpenNETCF Community

Setup instructions:
- Download hardware.zip.
- Extract and copy all files to Basic4ppc libraries folder. Default is:
c:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries

An example is also attached.
 

Attachments

  • hardware.zip
    42.4 KB · Views: 356
  • ShowNumericSip.sbp
    760 bytes · Views: 190

JJM

Active Member
Licensed User
Longtime User
Hello,

I tried to compile this example:
'**********
Sub Globals
'Declare the global variables here.

End Sub

Sub App_Start
Form1.Show
hardware.New1
End Sub


Sub Button1_Click
hardware.ShowNumericSIP
End Sub

Sub Button2_Click
hardware.ShowDefaultSIP
End Sub
'*********
I have Extracted and copied all files to Basic4ppc libraries folder(
c:\Program Files\Anywhere Software\Basic4ppc Desktop\Libraries)
When I wanted to compile the program i got an error (as shown on the screencopy.jpg).

Please could you help me?

Thanks

JJM
 

Attachments

  • Screencopy.jpg
    Screencopy.jpg
    87.1 KB · Views: 72

JJM

Active Member
Licensed User
Longtime User
Shownumeric

Hello Erel,

It's true. The version of the cs file was 3.5.
With the new one (3.55) it wasn't any error during the compilation.
Thank you.
JJ M
 

tremara1

Active Member
Licensed User
Longtime User
ShowSipNumeric not happening

The hardware dll's from this thread does not seem to work with the show sip numeric method, am I missing something?. I am using b4ppc 6.80. The sample compiled ok but threw an error when run on the device.
thanks....Trevor
Ballarat Victoria Australia
 

tremara1

Active Member
Licensed User
Longtime User
hardware error

Main.button1_click Error description: Invalid property.
When this example is open in b4ppc the showNumericSip method does not appear in autocomplete. The version of the dll is 1.0.3515.36372.
Trevor
Ballarat Victoria Australia
 

tremara1

Active Member
Licensed User
Longtime User
Still not right

I deleted my hardware dlls, cs, chm's from the library folder and redownloaded from the above post. After deleting the dlls from the example folder I then did the example with the new component and new hardware item I then checked the version and got 3.5 ?? What the...........
Trevor
Ballarat Victoria Australia
 

tremara1

Active Member
Licensed User
Longtime User
hardware still 3.5

Deleted all again restarted all still 3.5????
trevor
Ballarat Victoria Australia
 

Ariel_Z

Active Member
Licensed User
This is really odd...
1. Could you open the .cs file with notepad, and check which version appears at line #22?
2. Just verfying - you did copy .dll and .cs file to your Anywhere Software\Basic4ppc Desktop 6.8\Libraries as well, right? Not only to the program's folder.
 

tremara1

Active Member
Licensed User
Longtime User
my bad

It had to be something I was doing.....it was. Lets just say my file system needs some serious attention. I still had my old version of b4ppc on a different drive and was using it not the current version folder. All sorted.....thanks guys.
Trevor
Ballarat Victoria Australia
 

JOTHA

Well-Known Member
Licensed User
Longtime User
Hi Erel,

it seems, that the NumericsSIP-function DOESN'T work on a HTC HD2, or does it?

Greetz from the Schwabenländle.
 
Top