Hello,

   i'm having a few problems when dealing with tables.

  I've a table with a text field. After the user has entered
 the value, a TableSaveDataProcedure() is invoked to check 
 its consistency.

  If inconsistent, it changes the value to a default one and
 throws a dialog to warn the user.

  If the user taps on the form "Confirm" button while editing
 the field, the form will be closed just after the warning
 dialog is acknowledged, giving no chance to the user to
 change the field value.

  What would be the best strategy to avoid this?

  I'm currently setting a flag in the SaveDataProcedure and
 checking it before leaving the form, but i'm not so satisfied...

  Calling EvtFlush*Queue() in the SaveDataProocdure doesn't work as well,
 i suppose because the ctlSelectEvent has already been posted at that time.

 Thanks in advance.

-- 

 Best regards,

 Alessandro Zummo,
  Tower Technologies - Turin, Italy

  http://www.towertech.it

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

Reply via email to