Solved

What is best,   to put data on screen.. All kind of data .

Posted on 2011-03-20
4
352 Views
Last Modified: 2013-11-22
I am wondering?
What is best,   to put data on screen.. All kind of data .
I am working in Delphi.

Shall I use: memo,  drawGrid, ListView, listbox
Or something else.
0
Comment
Question by:dabbiX
4 Comments
 
LVL 32

Assisted Solution

by:ewangoya
ewangoya earned 250 total points
ID: 35180795

This depends on the data you are trying to display

TDrawGrid is awkward and a pain to use
TListBox is only good for displaying lists of one dimensional items
TMemo is good for showing notes or descriptions for items
TListView is good for showing tabular data, this is pretty simple to use and manipulate unlike the DrawGrid
0
 
LVL 21

Accepted Solution

by:
developmentguru earned 250 total points
ID: 35181306
 It seems to me that this question comes down to user interface design (UI).  Different kinds of data need to be handled different ways.  Some data is just for viewing (read only).  Some data is simple text and can be handled by an edit or memo.  In the case of letting a user make a selection from a list of choices you may have a set list (week days) or a list of customers that can be added to.  With a set list it is easy to use a combo box.  My preference when editing a list that can grow is to use a multi button combo box (this allows me to use the simple list, or click an ellipsis button to bring up a form to edit the list).  Simple graphical data may require that the user be allowed to change the graphic.  If there is a list of photos involved then you will obviously need a more complex solution to handle that list.  Then there is compound data.  Generally this would be a record such as a customer.  In this case you would need to decide, based on what the user will be doing at the time, how to display this data.

  The question is VERY vague.  There are many versions of Delphi, which one are you using?  What OS are you targeting?  What type of program are you writing?  If you are writing a business application you might get one suggestion, if you are writing a video game you would get quite a different answer.  The last piece of missing information is the data.  What type of information are you working with?  If it is database records you may get one solution, if it is XML you would be likely to get another (XML is NOT restricted to using the same field list in general), it could even be free form data from a stream.  Giving us some example data to make work with our example is always a help to the experts... it gives us a starting point.

  The last bit of advice I can give you is how to ask questions on the site.  Anyone asking a question should let the experts know WHAT they are trying to accomplish, being as descriptive as possible.  Include everything you are trying to do, why you are taking your approach, what you expect out of it, etc.  Let the experts come up with the HOW.

  In this case... the nebulous nature of the question gives us almost nothing to work with.  If you have a form that you considered trying, post a screen shot of it.  If you have a request that was hand written on a napkin, type (or scan) it in and let us see it.

  There is no best control to use to display all information.
0
 
LVL 100

Expert Comment

by:mlmcc
ID: 35452391
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now