Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Make a form fade
Message
From
18/12/2008 07:17:44
 
 
To
17/12/2008 16:13:29
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
01367953
Message ID:
01368438
Views:
10
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform