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 » U++ Library : Other (not classified elsewhere) » minimalist example with GridCtrl
Re: minimalist example with GridCtrl [message #6468 is a reply to message #6457] Mon, 13 November 2006 18:56 Go to previous messageGo to previous message
forlano is currently offline  forlano
Messages: 1189
Registered: March 2006
Location: Italy
Senior Contributor
unodgs wrote on Mon, 13 November 2006 10:49

You can also download HomeBudget sources from my page (dgs.pac.pl) It uses grid in many places.


Thanks a lot for your answer.
Unfortunately I still cannot make the cell editable!
The method grid.EditMode(0) is not recognised as belonging to gridctrl.
I've downloaded the 0.95 version but this piece of code do not want to show editable cells.
I put a gridctrl in the layout of designer and named it gc. than added these line in the constructor:
...
    gc.Inserting();
    gc.Appending();
    gc.Moving();
    gc.Removing();
    gc.Navigating();
    gc.Searching();
    gc.Editing();

    gc.AddColumn("name",19);
    gc.AddColumn("fed",4);
    gc.AddColumn("rtg",4);
    gc.AddColumn("title",4);
    for (i=0; i<4; i++) gc.Add("0","0","0","0");

It shows a nice 4x4 table but not editable Confused
What I am missing?
Luigi
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Close() callback not conditioned in a dialog
Next Topic: Horizontal and Vertical inverted in UPP?
Goto Forum:
  


Current Time: Fri Jun 07 23:23:22 CEST 2024

Total time taken to generate the page: 0.01554 seconds