Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Flash
Message
De
27/10/1999 14:41:07
 
 
À
27/10/1999 14:36:45
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Flash
Divers
Thread ID:
00282452
Message ID:
00282471
Vues:
25
>>Hi Sergio,
>>
>>I once place this code in a form's gotfocus event at the customer's request.
>>
>> for n = 1 to 4
>> ThisForm.Lblbase2.forecolor = rgb(255,0,0)
>>
>> wait "" timeout .5
>> ThisForm.Lblbase2.forecolor = rgb(0,0,0)
>>
>> wait "" timeout .5
>> n = n +1
>> loop
>>
>> endfor
>>
>>
>>This produced a flash like effect but remember this is contrary to standard practice.
>>
>>Hope this helps.
>>
>>Tim
>
>This will also make the form unusable during the flashing.
>
>The correct way to do this is with a timer. Put code in the timer event to change a lable's color, or toggle it's visible property.

Personally I don't like flashing lebels, etc. But to do it sounds like a candidate for a class, no?
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform