Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl - WhenRemoveRow doesn't work
|
Re: GridCtrl - WhenRemoveRow doesn't work [message #19700 is a reply to message #19699] |
Tue, 06 January 2009 11:35 |
|
lokki wrote on Tue, 06 January 2009 11:49 | I think, I have found a bug in GridCtrl, when trying to remove row from datasbase using GridCtrl's WhenRemoveRow callback. Fragment from GridCtrl.cpp:
if(call_whenremoverow)
{
#ifdef LOG_CALLBACKS
LGR(2, "WhenRemoveRow()");
LGR(2, Format("[row: %d]", rowidx));
WhenRemoveRow();
#endif
}
This will call the method only in DEBUG mode. My executable is build in "Size" mode and GridCtrl doesn't call the method.
|
Add:
bool GridCtrl::Key(dword key, int)
{
if(!IsReadOnly())
switch(key)
{
case K_ENTER:
ClearSelection();
#ifdef LOG_CALLBACKS
LGR(2, "WhenEnter()");
=>>HERE WhenEnter();
#endif
...
|
|
|
|
Goto Forum:
Current Time: Wed Apr 24 05:08:42 CEST 2024
Total time taken to generate the page: 0.02407 seconds
|