Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Vfp6 work , but don´t work in vfp8
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01047281
Message ID:
01047283
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
Use BINDEVENT().

VFP 8.0 don't support _screen hack.

MartinJ


>Hi
>
>the following code works well in VFP 6 , but don´t work in VFP 8 .
>Can you help me ?
>
>Thanks
>
>
>
>
>_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
>
>
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform