Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Full screen with VFP
Message
De
25/08/2005 02:06:49
 
 
À
24/08/2005 18:43:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01043372
Message ID:
01043709
Vues:
16
>>>Hello *.*
>>>
>>>I´d like to do the same full screen effect of F11 in internet explorer (press F11 to see) using VFP 6.
>>>
>>>Is it possible?
>>>
>>>Thanks in advance.
>>
>>On key label F11 do ShiftWindowState
>>
>>Procedure ShiftWindowState
>>  If thisform.WindowState= 0
>>    thisform.WindowState= 2
>>  Else
>>    thisform.WindowState= 0
>>  Endif
>>Endproc
>
>You can try this for a bit shorter code.
>
>
_screen.WindowState = BITXOR(_screen.WindowState,2)
Or
On key label F11 _screen.WindowState = IIF(_screen.WindowState=0,2,0)
But I prefereed to make it more readable. :-)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform