Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Flash
Message
From
27/10/1999 14:41:07
 
 
To
27/10/1999 14:36:45
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Re: Flash
Miscellaneous
Thread ID:
00282452
Message ID:
00282471
Views:
26
>>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform