>>>I did, tried it, and it doesn't work in my class form. It works if the form is just an SCX. Or at least that's how it seems to be.
>>
>>For me it does work on a form class, but only if it is top level (showwindow = 2).
>
>Where are you putting your calls to FadeIn and FadeOut? How are you using the Visible property of the form?
I create the two methods on the form: FadeIn() and FadeOut().
I do not call fadeIn() from the INIT() method as was in the example, but I put the following code in the SHOW() event:
PARAMETERS nStyle
THISFORM.FadeIn()
DODEFAULT(0)
When I call the form I do the following:
loForm = NEWOBJECT("MyForm","MyLibrary")
loForm.SHOW(0)
(You need to have the code in place to to the Read Events or keep the variable of the top level form, because the form is not modal.)
Christian Isberner
Software Consultant