Roger Daley Well-Known Member Licensed User Longtime User Dec 12, 2015 #1 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
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
R Roycefer Well-Known Member Licensed User Longtime User Dec 12, 2015 #2 The IME library is a B4A library, not a B4J library. Upvote 0
Roger Daley Well-Known Member Licensed User Longtime User Dec 12, 2015 #3 Hi Roycefer, I thought I would give it a shot and it seemed work. Is there B4J equivalent? I can't find anything. Any way to set a customfilter? Regards Roger Upvote 0
Hi Roycefer, I thought I would give it a shot and it seemed work. Is there B4J equivalent? I can't find anything. Any way to set a customfilter? Regards Roger
R Roycefer Well-Known Member Licensed User Longtime User Dec 12, 2015 #4 Probably the most straightforward way is to filter the new text in the _TextChanged() event using a Regex/Matcher set up. Upvote 0
Probably the most straightforward way is to filter the new text in the _TextChanged() event using a Regex/Matcher set up.