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 |
|
Yes, there is
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()));
}
|
|
|
Goto Forum:
Current Time: Fri Mar 29 02:52:38 CET 2024
Total time taken to generate the page: 0.00985 seconds
|