Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to avoid flicking in _screen properties?
Message
De
10/04/1999 00:47:00
 
 
À
10/04/1999 00:26:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00207145
Message ID:
00207152
Vues:
11
John,

It seems like it need some time before running the _screen command. This causes it keeping flicking.

Gan



>Before changing any screen properties, try a _screen.hide. Do your dirty work :-) and then put a _screen.show before DO mainmenu.MPR.
>
>Alternately, place a _screen.lockscreen = .T. before and _screen changes and _screen.lockscreen = .F. after them. This will batch up the changes and avoid a flicker.
>
>
>>I have a .prg file for starting my VFP application and it make several setting before running the menu. I have the code like this,
>>
>>_screen.caption = "My Title"
>>_screen.icon = "myicon.ico"
>>_screen.backcolor=12632256
>>do mainmenu.mpr
>>
>>read events
>>
>>However, before my setting for _screen took place, the default VFP properties was run for less than a second. As the results, the screen background color, icon and title seems to be flicking.
>>
>>How to avoid the flicking?
>>
>>Thanks in advance.
>>
>>Gan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform