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 » Use ArrayCtrl or GridCtrl for new application?
Use ArrayCtrl or GridCtrl for new application? [message #14747] Wed, 12 March 2008 17:03 Go to next message
jlfranks is currently offline  jlfranks
Messages: 57
Registered: May 2007
Location: Houston, TX, USA
Member
It is not obvious to me how to make a selection of using ArrayCtrl or GridCtrl in a new application.

GridCtrl lacks in documentation is one factor, but not the
most important one.

ArrayCtrl can interface to a database, but I'm not using a
database.

My application requires 15-20 rows by 6 columns.
Each cell must be editable.
Column 1 is EditString ctrl
Column 2 - 5 is EditDouble ctrl
Column 6 is EditString ctrl

This is a touchscreen application where double click does not
exist.

Is there a superiority of one type of control over the other?

--jlf
Re: Use ArrayCtrl or GridCtrl for new application? [message #14807 is a reply to message #14747] Sat, 15 March 2008 15:17 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
jlfranks wrote on Wed, 12 March 2008 12:03

It is not obvious to me how to make a selection of using ArrayCtrl or GridCtrl in a new application.

GridCtrl lacks in documentation is one factor, but not the
most important one.

ArrayCtrl can interface to a database, but I'm not using a
database.

My application requires 15-20 rows by 6 columns.
Each cell must be editable.
Column 1 is EditString ctrl
Column 2 - 5 is EditDouble ctrl
Column 6 is EditString ctrl

This is a touchscreen application where double click does not
exist.

Is there a superiority of one type of control over the other?

--jlf



Well, I guess, GridCtrl is more traditional, "Delphi like" component.

ArrayCtrl might perhaps be more flexible if you need to e.g. have invisible indicies (I mean, cells in line that are not visible) or combine several indicies to single cell and similar things.

GridCtrl is better if you want high-level utilities.

Mirek
Previous Topic: Hiding column's header in GridCtrl
Next Topic: GridCtrl requests
Goto Forum:
  


Current Time: Sat Apr 27 17:45:06 CEST 2024

Total time taken to generate the page: 0.02276 seconds