Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
UT membership should increase
Message
 
 
À
21/08/2001 14:49:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00540894
Message ID:
00546924
Vues:
24
Cool, I'll play with it tomorrow and see what I come up with. Thanks.


>>Hmm, I thought we found all of the dockable windows crashers. I use dockable windows extensively and never get crashes anymore. Got any repro scenarios?
>
>Off my head, have dockable debug windows, run an FXP and the debug windows shoudl disappear (or close them anyways) and then issue a DEBUG, the windows try to come back docked, and you get a C5.
>
>Now that I think about it, it could be the image thats attached to teh screen causeing the error, looks like this:
>
>
* This class uses a little trick to give the _screen tappable events
>DEFINE CLASS logo AS image
>	oscr = _SCREEN
>
>	PROCEDURE Init
>		* Find a file for this object
>		lcFile = iif(file('ArsLogo.bmp'), 'ArsLogo.bmp', iif(file('ArsLogo.gif'), ;
>			'ArsLogo.gif', iif(file('ArsLogo.jpg'), 'ArsLogo.jpg', iif(file('ArsLogo.jpeg'), ;
>			'ArsLogo.jpeg', ''))))
>		if not empty(lcFile)
>			this.Picture = lcFile
>		else
>			return .F.
>		endif
>		this.Position()
>	ENDPROC
>
>	PROCEDURE oscr.Resize
>		* This assumes the object was added to the screen as "oLogo"
>		this.oLogo.Position()
>	ENDPROC
>
>	PROCEDURE Position
>		* Position this image where it should be
>		with this
>			.Left = _screen.width / 2 - .width / 2
>			.Top = _screen.height / 2 - .Height / 2
>		endwith
>	ENDPROC
>
>ENDDEFINE
Mike Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform