what i found since then is that FldHandleEvent doesn't show this popup list, FrmHandleEvent does. so i hoped that if i will fill some helper field with one letter, set insertion point to be after this letter and make form process event that it could work. but nothing happened.
isn't there anyone who could give me hint what could be problem? it works if i will let system do everything, so i am sure it must be something i forgot to set or is set improperly code with lot of redundant stuf is here: case when e->eType==keyDownEvent and chr is hsKeySymbol h=MemHandleNew(2); x=(char *)MemHandleLock(h); x[0]='a'; x[1]=0; MemHandleUnlock(h); fldP=(FieldType *)FrmGetObjectPtr(frmP,FrmGetObjectIndex(frmP,MainAlt2Field)); FldFreeMemory(fldP); FldSetTextHandle(fldP,h); FldSetUsable(fldP,true); FrmShowObject(frmP,FrmGetObjectIndex(frmP,MainAlt2Field)); FldSetInsPtPosition(fldP,1); FldGrabFocus(fldP); FrmSetFocus(frmP,FrmGetObjectIndex(frmP,MainAlt2Field)); FrmNavObjectTakeFocus(frmP,FrmGetObjectIndex(frmP,MainAlt2Field)); //after all this focus is not visible, but i tested it and its set correctly, if i type anything text appears correctly FrmHandleEvent(frmP,e); //nothing happens in this case //but if i type to field manually and not use api to fill it it works. why???? //rest of code is useless and it only proves that content didnt changed h=FldGetTextHandle(fldP); FldSetTextHandle(fldP,NULL); x=(char *)MemHandleLock(h); DEBUG(x); //only alert with what is in field MemHandleUnlock(h); FldFreeMemory(fldP); FldSetUsable(fldP,false); FrmHideObject(frmP,FrmGetObjectIndex(frmP,MainAlt2Field)); handled=true; i don't know what else to do. any ideas? i only know that when i play with this code a bit more then FrmHandleEvent will cause reset. and error reported is 'Fatal Exception'. unfortunately application i do is now working in simulator (lot of pno code with peal, but this part which makes problem is pure 68k) so i test on real device and its not very helpful to say what is wrong -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/
