A weird error started cropping up:
POSE reports:
"Form.c, Line:1300, Object not in form"
yet the object is in the form. here is the relevant piece of code:
FieldPtr field;
.....
field = (FieldPtr) FrmGetObjectPtr(frmP, FrmGetObjectIndex(frmP,
NewCustomerFldNewCustomerField));
this occurs when I am trying to read the characters the user enters into the field. I
try to read the field as a response to a ctlSelectEvent generated by an "OK" button.
what makes this even more weird is that I used the same command in the response to the
frmOpenEvent event. I used it like this:
FrmSetFocus(frmP, FrmGetObjectIndex(frmP, NewCustomerFldNewCustomerField));
NewCustomerFldNewCustomerField is the constant that matches with the object ID
assigned in Constructor. Both of these commands are on the same form.
Any ideas? I'm using CW R6 with the 3.5 SDK installed (via the CW 3.5SDK installer)
-Jason
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/