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

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: 14290
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: Mon Apr 27 18:15:47 GMT+2 2026

Total time taken to generate the page: 0.00586 seconds