At 12:00am -0700 00-05-29, Palm Developer Forum digest wrote:
>Subject: re: error in SysKeyboardDialog()...
>From: "Tom B." <[EMAIL PROTECTED]>
>Date: Mon, 29 May 2000 02:34:59 -0400
>X-Message-Number: 32
>
>strange error in my app, but here it is:
>
>1) run about a million gremlin events in the 3.5 color debug rom
>2) open up the system keyboard
>3) do a "select all" menu event on a few lines of text
>4) press the backspace key
>5) select "ok" in the "can't be undone" alert box
>
>--> i then get a "Field.c, Line: 1798, Font set incorrectly" error message.

This error message is displayed by the internal GetVisibleLines() 
routine, when fldP->fontID is not equal to FntGetFont(). It usually 
means that something has gone wrong with the internal field code, 
versus a developer screwing up.

>this only happens after about a million events, and only if it selects
>enough of the text to not be able to undo it, and only if you press the
>backspace key.

This could be a bug in the field code or the form code, though it's 
not obvious from looking at the source. A stack crawl would be very 
useful, as would a dump of the contents of the field structure...are 
either of these possible?

Thanks,

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200

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

Reply via email to