Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Doing my own thing with the ADD button on GridCtrl?
Doing my own thing with the ADD button on GridCtrl? [message #23398] |
Fri, 16 October 2009 20:36 |
jeremy_c
Messages: 175 Registered: August 2007 Location: Ohio, USA
|
Experienced Member |
|
|
I would like to use common buttons on the GridCtrl's Toolbar such as Remove, Move item up, Move item down, etc... However the grid is only displaying a summary/small set of the actual data for the representing record. Therefore, when I add a new record, I do so via a Dialog box not direct entry into the GridCtrl.
How can I make the Appending and Inserting buttons not actually perform a GridCtrl append/insert but instead call my own function and let me call the dialog then later do a .Add()?
I tried immediately calling .CancelInsert() but that caused an Assertion failure in core\Value.h line 461.
Jeremy
|
|
|
Goto Forum:
Current Time: Thu May 23 18:12:00 CEST 2024
Total time taken to generate the page: 0.01581 seconds
|