Hi,
I'm stuck with such a simple thing as the default menu for fields.
I think I implemented thing quite straight forward (see below), but when I
select Paste, POSE hangs completely, when I select Undo, it beeps but
doesn't undo... It seems I'm doing something important wrong. Can anybody
help?
<--- snip --->
case menuEvent:
switch(event->data.menu.itemID) {
case fb_menuUndo:
FldUndo(FrmGetObjectPtr(formular, FrmGetFocus(formular)));
handled = true;
break;
case fb_menuCut:
FldCut(FrmGetObjectPtr(formular, FrmGetFocus(formular)));
handled = true;
break;
case fb_menuCopy:
FldCopy(FrmGetObjectPtr(formular, FrmGetFocus(formular)));
handled = true;
break;
case fb_menuPaste:
FldPaste(FrmGetObjectPtr(formular, FrmGetFocus(formular)));
handled = true;
break;
// and so on
<---- snip ---->
Thanks
Helmut
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/