Hi all.
I got a little problem maybe you can help me with.
I'm using define class to generate a custom container class.
The I issue something like
_screen.addobject("RockPic", "custContainer")
RockPic = _Screen.RockPic
Rockpic.bgim.picture="war3.jpg"
rockpic.visible = .t.
rockpic.bgim.visible = .t.
The container has an image in it. Inside the class I add a proc resize and a proc refresh.
The problem is that when the screen resizes, my containers resize event doesn't get called. IS there a way to do what I want?
The refresh doesn't get called very much either, but if I issue a _screen.refresh() it will resize the container/pic to the screen size.
TIA
-Joe
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement