Just discovered this:

The docs (3.5 and earlier) say about FrmInitForm: Displays an error 
message if the form has already been initialized. I don't think this is 
true; certainly you can put two FrmInitForm lines in a row for the same 
form and you won't see any error message. BUT...each of these 
FrmInitForms DOES seem to consume more memory, such that if you have 
omitted a FrmDeleteForm (as I had), you'll see the memory getting smaller 
with each pass through the code. In other words FrmInitForm seems to 
blindly allocate NEW memory each time for the form, and does NOT check 
whether the form already has been initialized.


Steve Patt
President, Stevens Creek Software
  http://www.stevenscreek.com/palm
  Best PQA ("ePQA"), PalmSource 99
  Best Application ("PizzaScan"), Palm Developer's Conference 1998
  First printing software for the Palm - September, 1997

-- 
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