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)
[solved] Register a callback on "when window resized" ? [message #52786] Sun, 24 November 2019 23:35 Go to previous message
xrysf03 is currently offline  xrysf03
Messages: 43
Registered: November 2018
Location: CZ
Member
Dear everyone,

another rookie question:
So I have this toy app - a main window, containing a handful of uninteresting controls, and a large ScatterCtrl to plot some data. That ScatterCtrl is "anchored" to all four edges of the main window = scales with the window.

And the question is:

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.

The point is: I'd like to update the axis major units (grid spacing) in response to the control changing dimensions. I already know how to set the grid units/dimensions, but I don't know how to have myself woken up when the ScatterCtrl's pixel dimensions change.

Thanks in advance for any ideas...

Frank

[Updated on: Sun, 08 December 2019 14:13]

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 Apr 19 23:49:34 CEST 2024

Total time taken to generate the page: 0.04704 seconds