Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Make a form fade
Message
 
 
À
17/12/2008 16:13:29
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
01367953
Message ID:
01368438
Vues:
9
>>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform