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 » ArrayCtrl, HeaderCtrl & GridCtrl » Simpler way to access Option in GridCtrl
Re: Simpler way to access Option in GridCtrl [message #31988 is a reply to message #31987] Thu, 14 April 2011 13:36 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1366
Registered: November 2005
Location: Poland
Ultimate Contributor

Yes, there is Smile
There is WhenCtrlAction and WhenCtrlsAction. First is called for every embedded control if there was leftdown righdown or mousewheel action. Second is called for every kind of action for controls that where created automatically for column (by for example using Option() method). You can use it like this:
grid.WhenCtrlsAction = THISBACK(ShowCtrlValue);

void ShowCtrlValue()
{
    PromptOK(AsString(grid.Get()));
}
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: FIX: ArrayCtrl to support Style
Next Topic: GridCtrl: detecting a change of a search string
Goto Forum:
  


Current Time: Fri Mar 29 02:52:38 CET 2024

Total time taken to generate the page: 0.00985 seconds