Hi, I found that post and can tell you that I have the same problem : I use the "Keyboardstatus=-1" statement on GotFocus or Click event. For one control (not for the others), at the first time I tap in it, the keyboard appears a very short time and disappears. The following taps make it appear normally... Tapping on other controls with "Keyboardstatus=-1" run fine.
Is there a way to fix it ? Regards --- In [EMAIL PROTECTED], "Robert Slack" <[EMAIL PROTECTED]> wrote: > > Charles, > I'm not sure why your code doesn't work, though I think your theory is > probably correct. If you change it around a little it > works as expected & seems more logical to me: > > Sub OkButton_Click > Form1_Hide > > For a = 1 To 3 > KeyboardStatus = -1 > MsgBox "Keyboard should now be visible!" 'First MsgBox > KeyboardStatus = 0 > MsgBox "Keyboard should now be hidden!" 'Second MsgBox > Next > > Bye > End Sub > > > > --- In [EMAIL PROTECTED], "cn_rdc" <cn_rdc@> wrote: > > > > Here's my code: > > > > Sub OkButton_Click > > Form1_Hide > > For a = 1 To 3 > > MsgBox "Keyboard should now SHOW up!" 'First MsgBox > > KeyboardStatus = -1 > > MsgBox "Keyboard should now NOT SHOW up!" 'Second MsgBox > > KeyboardStatus = 0 > > Next > > Bye > > End Sub > > > > When the first message box appears, I click the OK button. The > > keyboard appears momentarily and then disappears. Because the > > keyboard disappears, the second message box does nothing. > > > > However, when I make the keyboard visible by tapping the stylus on the > > keyboard symbol and then click the first message box, the keyboard > > stays visible and disappears after the second message box is clicked. > > In other words, it works properly. > > > > Does the presence of "MsgBox" somehow send a trigger which would hide > > the keyboard? Should I just use forms with an "OK" button to ensure > > consistency? > > > > Thanks, in advance, for your help. > > > > - Charles > > > > > > --- In [EMAIL PROTECTED], "George Henne" <gh@> wrote: > > > > > > You're the first to report this. Can you create a short program than > > > consistantly reproduces this problem? > > > > > > >I'm using the command "KeyboardStatus = -1" to show the keyboard and > > > >the command "KeyboardStatus = 0" to hide the keyboard. The > problem is > > > >that the commands don't produce consistent results. Is that a > problem > > > >others have encountered? How should I go about fixing it? I'm using > > > >NS Basic/CE 6.0.4. Thanks, in advance, for your help. > > > > > > > >- Charles > > > > > > > > > > > > > > > > > > > >Yahoo! Groups Links > > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
