Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Binding resize event of _screen
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Binding resize event of _screen
Divers
Thread ID:
00865003
Message ID:
00865003
Vues:
76
hello,

In VFP7 we used the following class:
DEFINE CLASS Resizer AS Custom
	*
	oScreen = _SCREEN
	*
	PROCEDURE INIT
		*-- So the resize code is triggered at instantiation. 	
		_SCREEN.RESIZE()
	ENDPROC
	*
	PROCEDURE oScreen.RESIZE
		IF TYPE("poAppContr.oShortcutsBar.NAME") == "C"	
			poAppContr.oShortcutsBar.HEIGHT = _SCREEN.HEIGHT
		ENDIF
	ENDPROC
ENDDEFINE
Now in VFP8 that raises an error, Object oScreen not found.

How should I capture the _screen.RESIZE in VFP8?

Thanks for your help in advance!
Christian Isberner
Software Consultant
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform