B4J Question Keyboard.SetCustomFilter

Roger Daley

Well-Known Member
Licensed User
Longtime User
Hi All,

The following B$A line is rejected by B4J:
kb.SetCustomFilter(DispInput, DispInput.INPUT_TYPE_TEXT, "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz _")
as INPUT_TYPE_TEXT is an unkown member.

By the pop-up tips on screen I appear to be correct but when I try the pop-up example it shows the same error???

There is a screen shot attached that tells the story.

Regards Roger
 

Roycefer

Well-Known Member
Licensed User
Longtime User
Probably the most straightforward way is to filter the new text in the _TextChanged() event using a Regex/Matcher set up.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…