SIP

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I've been working with VB.Net Compact Framework for about 10 months now and
cannot find a solution to the SIP disappearing. It happens whenever I have a
form open with its own SIP and then open another form with its own SIP. No
matter what I try the SIP disappears upon return. I have seen this posted in
other places but the scenarios are different. I have never seen a reply with
a solution. Is this a known problem and if so what is being done about it?
 
Thanks for your response Peter. I guess I can put the enabled logic in the
GotFocus field (there is only 1 input field on the form requiring text entry)
and then make it disappear again in LostFocus. At least this will allow them
to complete the form without exiting and returning. So is this a bug that
Microsoft is aware of and are there any plans to fix it?
 
It's a bug that has been reported a few times. The question is - do you have
a simple test project that allows to reproduce reliably this issue?
 
Alex,


Alex Feinman said:
It's a bug that has been reported a few times. The question is - do you have
a simple test project that allows to reproduce reliably this issue?
 
Alex,
Sorry, I accidentally hit the enter key. I can make this happen every
time. I'll try to be as detailed as possible. The project consists of a
solution with multiple projects that are activated by selections from a main
menu. In this instance, the main menu selects Account Management. The user
selects an Account and then selects from another menu, Call Summaries. The
Call Summaries shows a grid of existing Call Summaries and if you tap on an
existing one it brings up the details to edit. The form with the grid (Call
Summaries Main) does NOT have a menu bar and input panel defined because
there is no data input. The detail form DOES have a menu bar and input panel
defined.

One of the options on this form is to select a Contact or create a NEW one
if the person is not in the Contact list. If you tap the NEW button, it
brings up the Contact Form with its own menu bar and input panel defined.
This is where the problem consistently occurs. The 2 options on the Contact
form are to hit Save or Cancel. Regardless of which one you select, the
Contact form closes itself thereby reactivating the Call Summary detail form.
When this form becomes active again, the keyboard icon disappears.

Other things I think you should know.

We used to get unhandled exception errors when we used this scenario.
Everytime we had 2 successive screens with menu bars and input panels
defined, when we came back to the original form and tried to use the
keyboard, it would abort with an unknown error. I found the only way to stop
them was in the 2nd Form, whenever I was going to CLOSE the form, I needed to
dispose the input panel for that form.

Also, I discovered this very weird result. When the 2nd form closes and the
1st form is reactivated with the keyboard icon missing, if I have a combo box
that has enough members to drop into the menu bar area, the keyboard icon
reappears. I've used the scrollbar to position the combo box so that when I
tap on the combo box the members do cross into the menu bar area and then
with the same combo box so that the members do not cross into the menu bar
area. If it crosses over, the keyboard appears, if it does not, nothing
happens. I hope this helps.

Robert
 
See, this is the problem. I have a project that contains tens of forms and
exhibits this problem once in a while (more on Axim X5 than on any other
hardware), but I was not able to distill the essence down to something
manageable
 
Alex,

I understand your point. I tried to create a quick test app to recreate the
problem and I couldn't get it to happen either. I have found a work around
that I'll mention here in case any other developers come looking for an
answer to the same problem. In the Activated logic for the form events, I
set the input panel enabled to True and then to False and it makes the
keyboard icon stay visible. In other words my SIP is named sipCallSummary.
In the Activated event,
sipCallSummary.Enabled = True
sipCallSummary.Enabled = False.

Although this makes the keyboard flash momentarily, its less of a bother
than trying to explain to the users to take some action. Thanks for your
help.

Rob
 
Back
Top