Hi Marcus,

It sounds like you are wanting to know how to handle and respond to the
user input on the form you have.  In order to do this you need to create
an event handler for your form.  The Sample apps source code that comes
with the SDK's are a good place to go for examples of this.  There are
good examples in the Datebook source code.  Specifically in DateDay.c
look at DetailsHandleEvent().

Also see the Application-Defined Functions in the Forms section of the
PalmOS Reference for details on how to do this.

In your event handler you need to handle ctlSelectEvent and then look in
the event struct to see what control the user hit.  Hope that's enough
to get you started!

-Aaron Hansen



>-----Original Message-----
>From: [EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED] On Behalf Of marcus csk
>Sent: Sunday, March 06, 2005 11:43 AM
>To: Palm Developer Forum
>Subject: Re: 'yes/no question answer' system help.......
>
>
>if there is few seperate decision tree(means broke into 
>category) and the tree node may linking....
>
>in details that this system is to let user diagnose computer 
>problems by category with answering a series of yes/no 
>question.Hope someone can help and if possible provide a 
>similiar system source code.
>-- 
>For information on using the Palm Developer Forums, or to 
>unsubscribe, please see http://www.palmos.com/dev/support/forums/
>
>

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please 
see http://www.palmos.com/dev/support/forums/

Reply via email to