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 » 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 Go to previous message
jeremy_c is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DoSum(), DoAvg(), etc... and search operations
Next Topic: Adding new row to GridCtrl... How to force a resort?
Goto Forum:
  


Current Time: Sun May 12 19:01:22 CEST 2024

Total time taken to generate the page: 0.01791 seconds