Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
No Vfp6 funciona , mas não no Vfp8
Message
De
07/09/2005 05:11:20
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
No Vfp6 funciona , mas não no Vfp8
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01047282
Message ID:
01047282
Vues:
42
Olá

o código seguinte funciona bem no VFP 6 , mas não funciona no VFP 8 .

Alguma ideia ?

Muito obrigado
_Screen.AddObject("oResizer_Laja", "Resizer_Laja")


DEFINE CLASS Resizer_Laja AS Custom


   oScreen = _Screen
  
  PROCEDURE oScreen.Resize
    IF _screen.WindowState <> 1  && Main VFP Window isn't minimized
      FOR i=1 TO _screen.FormCount
         IF _screen.Forms(i).AutoCenter
            _screen.Forms(i).AutoCenter = .F.        
            _screen.Forms(i).AutoCenter = .T.        
         ENDIF
      ENDFOR 
    ENDIF
  ENDPROC

ENDDEFINE


Pedro Silva

world is wonderful with your help .

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform