Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Blinking Text on a Form
Message
De
23/01/2002 11:24:11
 
 
À
23/01/2002 11:08:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00608639
Message ID:
00609054
Vues:
28
So how to draw attention to text on a screen (run in VFP from a 2.6 .spr) that is blinking in the DOS version until the screen is redone as a form down the road? Any ideas since blinking text is not possible?
Tracy

>Tracy,
>That "blinking" in the DOS code was based on your actual video hardware support. When you run under Windows, this enhancement normally just appears as highlighted or brighter.
>
>Rick
>
>>What about running .sprs (from the 2.6 version of screen) in a VFP app? How can I create blinking text when there is no container to put a label in ? We have some old screens whose .sprs are running in a HUGE partially converted app and some of the screens have not been updated to forms yet (it is an ongoing process). In 2.6 the text was blinking, but it does not blink in VFP. How can I accomplish that without creating a form to replace the .spr (from the 2.6 screen)? Any ideas?
>>Tracy
>>
>>>Hello Chad.
>>>
>>>Can I make text blink on a VFP form? You could do it in FP2.6.
>>>
>>>You can create your own custom blinking label class by dropping a label and a time into a container. You set the container's BackStyle to 0-Transparent and its BorderWidth to 0. Set the timer's Interval to 300 and put this code in the Timer's Timer method:
>>>
>>>
>>>WITH This.Parent.lblBase
>>>  .Visible = !.Visible
>>>ENDWITH	
>>>
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform