Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class & resize
Message
De
25/08/2000 11:21:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Class & resize
Divers
Thread ID:
00409258
Message ID:
00409258
Vues:
43
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
Fil
Voir

Click here to load this message in the networking platform