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 » U++ Library support » Splitter » splitter and WhenAction
splitter and WhenAction [message #9719] Sun, 27 May 2007 23:55 Go to next message
forlano is currently offline  forlano
Messages: 1182
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.

Luigi

[Updated on: Sun, 27 May 2007 23:55]

Report message to a moderator

Re: splitter and WhenAction [message #9721 is a reply to message #9719] Mon, 28 May 2007 08:33 Go to previous messageGo to next message
unodgs is currently offline  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.
Re: splitter and WhenAction [message #9729 is a reply to message #9721] Mon, 28 May 2007 17:51 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
In MouseMove.

Added...
Previous Topic: Issue with SplitterFrame
Next Topic: Splitter and SetMin strange behavior
Goto Forum:
  


Current Time: Thu Mar 28 22:13:19 CET 2024

Total time taken to generate the page: 0.02789 seconds