forlano Messages: 1202 Registered: March 2006 Location: Italy
Senior Contributor
Hello,
does work WhenAction for the splitter?
I've added
spls.WhenAction = THISBACK(GetSplitterSize);
to run the callback when the splitter is resized but it seems the callback is never called.
Perhaps I'm missing something but I do not know what.
unodgs Messages: 1366 Registered: November 2005 Location: Poland
Ultimate Contributor
WhenAction is declared in Ctrl class and is inherited with each upp control and that control must call it somewhere (eg. in LeftDown). Seems that Splitter dosn't call it. I guess it should be called in MouseMove or Layout to fit your needs.