Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Container problem
Message
From
07/02/2002 17:35:12
James Blackburn
Qualty Design Systems, Inc.
Kuna, Idaho, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Container problem
Miscellaneous
Thread ID:
00617065
Message ID:
00617065
Views:
65
Hi All,

I have a container of objects that I have created. I did this so I could instantiate container in several different places. I also wanted instantiate the container on a page of a pageframe at run time. Everything was working fine until I decided to add a combo box to the container as lookup for one column in a table. I have code in the combo class so it will populate itself with the proper data at run time. Here is the issue. Only on the page the init code will not run. I put the following in the init:

Set step on
Dodefault()

This code does not seem to run because the error I get is it can’t find the cursor that I have setup in the rowsource. If I drop the container on a form all works as expected. I also put the same code above in the container’s init and it did not seem to fire as well.

Hope someone has some ideas?

More info. I cleared the rowsource and added the rowsource on the last line of the init it is now working????? Not sure why this made a difference.
Next
Reply
Map
View

Click here to load this message in the networking platform