so add the code that handles your button press to your UpdateForm event
handler function not your main form event handler
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, June 13, 2001 12:41 PM
Subject: Please Help!
> I am working with a symbol palm and I wrote some code like this
>
> if (eventP->data.ctlEnter.controlID == UpdateScanButton)
> {
> ScanCmdStartDecode();
> bHandled = true;
> }
>
> Now my code works BUT
>
> UpdateScanButton is not on the main form so when I try to scan I get an
error
> and have to reset.
>
> The UpdateScanButton is on the UpdateForm.
>
> How do I say that in this code?
>
> I tried UpdateForm->UpdateScanButton)
>
> But that doesn't work. I tried some other things as well. Thanks!
>
>
> GOD Bless!!!
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/