I can think of three approaches. There could be others.
1. No one can enter text into 8 fields simultaneously, so there's no need to
have 8 fields. Instead, have one field, and move it to where you need it as you
need it. The Table Manager takes this approach with editable fields. See how
it's used in the Address Book sample.
2. If you really need 8 fields, initialize them one at a time at idle time.
That is, open the form and set a flag saying that the first field needs to be
initialized. At idle time, if that flag is set, initialize that field and set
the flag to indicate that the second field needs to be initialized. Continue
doing this until all fields are initialized.
3. Read the documentation. I only just figured that one out. For FldInsert, it
says: "This function sets the field's dirty attribute and posts a
fldChangedEvent to the event queue. If you call this function repeatedly, you
may overflow the event queue with fldChangedEvents. An alternative is to remove
the text handle from the field, change the text, and then set the field's handle
again. See FldGetTextHandle for a code example."
-- Keith
"Avi Manor" <[EMAIL PROTECTED]> on 02/05/2001 02:20:46 PM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: "Avi Manor" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
cc: (Keith Rollin/US/PALM)
Subject: Help! how to work around event queue full?
I'm getting "Event.c line 283 event queue full" when ever trying to
fieldInsert more then about 8 fields. I see other people wanted to know
about the same thing but I could not find a practical answer.
Can any body help?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/