Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: a.sabato a.sabato
  Where is a.sabato a.sabato?
 mp
 Italy
 a.sabato a.sabato
 Tags
Subject: HELP !! Problem VFP8 intercept _screen.resize
Thread ID: 33597 Message ID: 33597 # Views: 2 # Ratings: 0
Version: Visual FoxPro 8 Category: Classes and Objects
Date: Saturday, November 29, 2003 5:00:02 PM         
   


with this in VFP8.0 dont work event _screen.resize posted by eric

SET DEFA TO ?
SET PROCEDURE TO screenmethods additive
_SCREEN.Addobject("oimage","image")
_SCREEN.oimage.stretch=0
_SCREEN.oimage.left = (_screen.width / 2) - (_SCREEN.oimage.width / 2)
_SCREEN.oimage.top = (_screen.height / 2) - (_SCREEN.oimage.height / 2)
_screen.oimage.picture=getpic()
_screen.oimage.visible=.t.
_SCREEN.NewObject("oSH","ScreenHook","screenmethods.prg")

DEFINE CLASS ScreenHook as custom
oscr = _SCREEN
PROCEDURE oscr.Resize()
WITH this.oImage
.left = (_screen.width / 2) - (.width / 2)
.top = (_screen.height / 2) - (.height / 2)
ENDWITH
ENDPROC

This procedure in screenmethods.prg return an error 'member oscr not found' .....
HELP ME

ENTIRE THREAD

HELP !! Problem VFP8 intercept _screen.resize Posted by a.sabato a.sabato @ 11/29/2003 5:00:02 PM
RE: HELP !! Problem VFP8 intercept _screen.resize Posted by Eric den Doop @ 11/30/2003 12:21:23 AM
RE: Thanks of heart Eric, is always the #1!! Posted by a.sabato a.sabato @ 11/30/2003 9:42:44 AM