Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resizing a Toolbar
Message
De
26/10/2001 12:10:13
 
 
À
26/10/2001 11:18:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00573664
Message ID:
00573723
Vues:
15
Kevin,

The following snippet was contributed by Vlad Grynchyshyn (I think?) and shows how to hook the resize event of _Screen. Once you have this in place you could get an object reference to the toolbar and forward it the resize information.
DEFINE CLASS MyHook AS Custom
  oScreen = _Screen

  PROCEDURE oScreen.Resize && attach VFP code to object's event when this class initialized
    oScreen.MyContainer.ScreenResized
  ENDPROC
ENDDEFINE

_Screen.AddObject("oHook","MyHook") && now screen resize event captured...
HTH
Neil
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform