Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » [solved] Register a callback on "when window resized" ? (Would like to change ScatterCtrl grid major unit when resized)
Re: Register a callback on "when window resized" ? [message #52787 is a reply to message #52786] Sun, 24 November 2019 23:53 Go to previous messageGo to previous message
Oblivion is currently offline  Oblivion
Messages: 1094
Registered: August 2007
Senior Contributor
Hello Frank,


Quote:
Is there an overridable callback, or an event / WhenSomething that I could use, that gets called "on Window resize"? Actually on window resize or on ScatterCtrl resize.



Ctrl::Layout() virtual method is used for that purpose. It is called whenever the layout of a given ctrl has changed.


Best regards,
Oblivion


[Updated on: Sun, 24 November 2019 23:54]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] ERROR: Not in table (destructor clobbered?)
Next Topic: WhenAction() -> ProcessEvents() -> WhenAction() -> hang, crash :-)
Goto Forum:
  


Current Time: Fri May 17 09:15:47 CEST 2024

Total time taken to generate the page: 0.02368 seconds