>>Hi,
>>
>>I am confused about how objects are instantiated. Here is an example:
>>
>>I have a form and a BIZ object is dropped on this form. When the BIZ object is instantiated (I watch in the debugger), in the INIT of BIZ object I have a line "RETURN .F.". I thought that when your RETURN .F. from the INIT the object is not instantiated. But when I later in the INIT method of the form check for this BIZ object I get the following:
>>
>>type( "thisform.mybizobj" ) returns "O" (meaning object)
>>isnull( thisform.mybizobje ) = .F.
>>
>>Why does the BIZ object type is "O" and not null when the INIT method of this object returned .F.?
>>
>>TIA.
>
>What if you check for
>type('thisform.myBizObj.name') = 'C' - this is the check I use for such cases.
>
>Also, are you sure return .f. line is firing?
I will check for the .name property to see what it returns. I did get to the line RETURN .F. in the debugger; that is certain.
Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham