Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CListObjEdit and refreshes
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
CListObjEdit and refreshes
Miscellaneous
Thread ID:
00171566
Message ID:
00171566
Views:
57
Hello everyone,

I'm getting some interesting behavior out of a page frame and a cListObjEdit and I was wondering if anyone knows how to fix it. This problem seems to be a basic LockScreen issue but I can't figure out how to fix it.

Here's what I have.

1) A form based on cBizObjMaintenanceForm with 4 pages in the page frame.

2) Two kBizObjs on the first page. One is set as the primary and drives the list on the first page. Everthing works great. The second is set as a child to the first and is requeried when that BizObj changes. This works great.

3) On page 3 I have a cListObjEdit that relies on the child buziness object on page one.

If I use the navigation toolbar to navigate the list, or if I move up and down using the keys or mouse and then select page 3 Everything looks great. The data on page 3 relates to the active data in the primary BizObj.

The problem occurs when page 3 is active and I use the navigation tool bar to change the primary BizObj. The title changes on the form to reflect the movement in the primary BizObj and the view actually gets new data. (I suspended it and looked.) But the list does not get updated/refreshed except in a very unreliable way.

I've also noticed that this behavior seems to occur only when the cListObj1 member of cListObjEdit has focus. If any other control on the page has focus then the list is updated correctly. For instance it the focus is on the cmdAdd member of cListObjEdit then the list is refreshed every time the primary BizObj changes.

Any clues.

Thanks,
Bill
William Hartgrove
Senior Elephant Waxer
Hartgrove Amusent Park and Youth Hostel
Austin, Texas
Reply
Map
View

Click here to load this message in the networking platform