Some more info:

* Code fails on actual m125 device (which has the 4.x o/s that is the target 
for the actual app).

The FldScrollField call works ok if it is reached as part of MainFormInit, but 
fails if it is reached from the handler. (The following code is mostly from the 
"skeleton" generated by the CW 9.3 Wizard for C++, plus code from the Memo app 
by Palm.)

static void MainFormInit(FormType *frmP)
{
..FieldType* fldP = GetObjectPtr<FieldType>(MainDescriptionField);
..FldScrollField(fldP, 1, winDown);  // WORKS!!!
}

static Boolean MainFormHandleEvent(EventType * eventP)
{
.switch (eventP->eType)
..case sclRepeatEvent:
..FieldType* fldP = GetObjectPtr<FieldType>(MainDescriptionField);
..FldScrollField (fldP, 1, winDown);  // FAILS!!!
..break;

I'm baffled by what is going on ... again note that the above works fine with 
the 5.4 sdk simulator.

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

Reply via email to