Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replacing bizobj in cListObjEdit
Message
From
17/09/2004 21:16:00
June Kendrick
Kendrick Associates, Inc.
New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Replacing bizobj in cListObjEdit
Miscellaneous
Thread ID:
00943677
Message ID:
00943677
Views:
59
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
Map
View

Click here to load this message in the networking platform