I don't expect there's much to be said except "deal with it", but has anyone else seen this, can anyone comment?
I generally try to load my forms, initialize the controls, and then draw them for the first time. When the app is just starting up, before the first form is drawn, it appears that FrmGetObjectIndex is returning frmInvalidObjectId for valid controls. If I do my setup after the form has been drawn, all is well. And this only appears to be the case with the first form that's being loaded. Steps are: * FrmInitForm has been called, I've got a form pointer. * FrmDrawForm has not yet been called while I init the controls. * FrmGetObjectIndex returns frmInvalidObjectId if this is the first form. Using PalmOS 4.2. ? Remi. -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
