>>Hi,
>>
>>I am calling a procedure from LOAD method of a form class. Without passing a name of the form class or some other information, can the called procedure know the name of the form? or some other piece of information that would help "locating" the called form/class?
>>
>>TIA
>
>Try this at the beginning of the method.
>
>
> IF TYPE( "_Screen.ActiveForm" ) = "O"
> lcName = _SCREEN.ACTIVEFORM.Name
> lcClass = _SCREEN.ACTIVEFORM.Class
> lcParentClass = _SCREEN.ACTIVEFORM.ParentClass
> ELSE
> STORE "" TO lcName, lcClass, lcParentClass
> ENDIF
>
Thank you for the suggestion.
"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