General information
Category:
The Mere Mortals Framework
Title:
Replacing bizobj in cListObjEdit
I'm having a problem with replacing the bizobj in a cListObjEdit. The Dev. guide says to drop the new bizobj on the page and send it to back, which I do. It says to put some code in the new bizobj's OnBizObjEmpty, PostRequeryHook and OnStateChange methods, which I did. It then wants This.ChangeBizObj(path to bizobj) in the CListObjEdit's PostInitHook. When I do that, I get "unknown member" on the statement in the PostInitHook. I'm using a bizobjMaintenanceForm, so the "path to bizobj" looks like "thisform.pgfbizobj.page5.tickler" (no qoutes). If I put a breakpoint on the statement in the PostInitHook, and do PEMSTATUS(thisform.pgfbizobj.page5,'tickler',5) inthe watch window, I get "expression could not be evaluated". PEMSTATUS(thisform.pgfbizobj,'page5',5) = .T. and ,3 = 'O'
If I pull the PostInitHook code, things seem to run ok, except that when the page appears, and until I click the Add or Edit buttons, the highlight bar is missing.
Thanks,
June
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only