Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Java Development

Reply
Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone

how to hide the keyboard

HI,

I create one application and Build it with the os 5.0 and use the DateField so when i clieked the number on popup for date selection i want to hide a keybord at that time so may i get ay event of any methos that block the keybord to open?

Developer
Posts: 16,992
Registered: ‎07-29-2008
My Device: Z10 LE, Z30, Passport
My Carrier: O2 Germany

Re: how to hide the keyboard

http://www.blackberry.com/developers/docs/5.0.0api/net/rim/device/api/ui/VirtualKeyboard.html

----------------------------------------------------------
feel free to press the like button on the right side to thank the user that helped you.
please mark posts as solved if you found a solution.
@SimonHain on twitter
Developer
Posts: 190
Registered: ‎10-22-2009
My Device: Blackberry Torch

Re: how to hide the keyboard

to show:

getScreen().getVirtualKeyboard.setVisibility(VirtualKeyboard.SHOW); or SHOW_FORCE

thide

getScreen().getVirtualKeyboard.setVisibility(VirtualKeyboard.HIDE); or HIDE_FORCE

-----------------------------------------------------------------------------------
Please mark posts as solved if you found a solution. Press the kudos button to thank the user who helped you.
Highlighted
Developer
Posts: 203
Registered: ‎07-30-2009
My Device: Bold(9780),Curve(8520)
My Carrier: Vodafone

Re: how to hide the keyboard

i tried this cod also but not get the ans sucess  i'm facing this issue in Strom2 so please help me if any body have any idea about Stom2 dateDateField.