Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Binding resize event of _screen
Message
From
08/01/2004 07:20:16
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Binding resize event of _screen
Miscellaneous
Thread ID:
00865003
Message ID:
00865003
Views:
78
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
Next
Reply
Map
View

Click here to load this message in the networking platform