General information
Category:
Forms & Form designer
>>I have defined a class based on container whose methods need to refer very often to Codemine cursor objects which were created during thisform.load(), before the container class was instantiated.
>>
>>In order to have easy access to intellisense at development time, I have added a copy of the cursor classes to the container object. At runtime however, I don;t really want those cursor classes to become instantiated at all. Instead I want to create a property of the container with the same name to hold a reference to the cursor objects, which will have already been created by that time.
>>
>>I thought of returning .F. from the cursor init, but for some reason the cursor objects appear before their init runs.
>>
>>The question is how to delete objects placed in a container before they are initialized?
>>
>>TIA,
>>
>>Alex
>
>Return .f. from Init should prevent instantiation. Are you sure you're not returning .t. earlier? Also you may try using removeobject to remove them after they were instantiated.
Thank you Naomi.
Alex
Previous
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