Hi James,

I catch the keyDownEvent, send the character to the field and then read 
the string from the field to know what the user wrote.

case keyDownEvent:
        if (event->data.keyDown.chr == vchrPageUp)
        {
                ListViewPageScroll (winUp);
                handled = 1;
        }
        else if (event->data.keyDown.chr == vchrPageDown)
        {
                ListViewPageScroll (winDown);
                handled = 1;
        }
        else if (FldHandleEvent(GetObjectPtr(form, fieldID_input), event))
        {
                ListViewHandleKeys(form);
                handled = 1;
        }
        break;

-- 
-------------------------------------------------------------------------
[EMAIL PROTECTED]                                       www.metaviewsoft.de

<A HREF="http://www.handango.com/PlatformTopSoftware.jsp?authorId=95946";>
<IMG SRC="http://user.cs.tu-berlin.de/~jonash/werbung.jpg";></A>
-------------------------------------------------------------------------


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

Reply via email to