On 3/9/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm adding the following line "FrmSetObjectPosition(pForm, 2000, 10, 10);" to 
> redraw a button at a different position. The button Id is 2000 and I added 
> this line in the MainFormHandleEvent function. But when I run this on the PDA 
> I get an error saying "Fatal Exception".

This API doesn't take a control ID, it takes a control index.  You
need to call FrmGetObjectIndex first to find out that value (as stated
in the docs).

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

Reply via email to