U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl - WhenRemoveRow doesn't work
GridCtrl - WhenRemoveRow doesn't work [message #19699] Tue, 06 January 2009 10:49 Go to previous message
lokki is currently offline  lokki
Messages: 20
Registered: November 2005
Promising Member
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.

I'm using upp 2008.1 release, but looks like the bug is stil in repository ( http://www.google.com/codesearch/p?hl=en#RuY_ZbqIwV4/trunk/u ppsrc/GridCtrl/GridCtrl.cpp&q=GridCtrl.cpp%20package:htt p://upp-mirror\.googlecode\.com)

Please correct me, if I'm wrong.. Smile

[Updated on: Tue, 06 January 2009 10:50]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: GridCtrl - crashes on UBUNTU.
Next Topic: GridCtrl: Find and Select Row after Keypress
Goto Forum:
  


Current Time: Wed Jun 17 04:56:16 GMT+2 2026

Total time taken to generate the page: 0.00452 seconds