Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing a Toolbar
Message
From
26/10/2001 12:10:13
 
 
To
26/10/2001 11:18:59
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00573664
Message ID:
00573723
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform