Ricardo. Try commenting out the UpdateScrollBar(gResultsField, gResultsScrollBar); at the end of your MainFormHandleEvent. Or put an if(handled) right above it That might be your problem. I'm too tired to look any deeper. Also if you add anything to your MainFormDeinit you'll have problems because the case statement above your frmCloseEvent only breaks for two keys. Any other keys will drop through to that case statement. (you might want to move your breaks out of your if command). Hope this helped a little. Karl
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
