A simple way to add a new contact?

R

Roy Chastain

I am writing an application that will interface with the POOM via the
InTheHand's code. I think that at times the user will want to create
a new contact from my application.

My first idea was to simply take the first and last name from the
user, create a FIle As and save the contact and then use the display
method to allow the user to finish the rest of the fields (after all
why do I need all that user interface repeated).

Well that plan almost works, the contact comes up, but not in EDIT
mode.

This lead me to my 2 nd idea which was to somehow send a message to
the EDIT button on the contact form after displaying the contact, but
I don't have any real idea if it is doable or how to go about it.

Suggestions as to how to send the message to the EDIT button or other
alternatives for the complete process would me most appreciated.

Thanks
 
P

Peter Foot [MVP]

This is unfortunately the behaviour of the POOM dialogs - if you create a
new item and enter no name or any other details and call Display you'll get
a blank form ready for entry, however if you have begun to assign values
you'll get it in display mode and must tap edit to begin editing.
As the dialog is opened modally your code to call Display() will block until
the user has dismissed the dialog so sending a screen tap or keyboard event
will not occur until after the dialog is dismissed.

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top