Which Component Would You Suggest For A General Info Box? lazarus / 31-LCL ---------------------------------------------------------------------- Rails · 2013-07-11 15:24 I need to implement an info box for my CAD application. It will be on its own form. It will provide very generalized information, such as amount of memory in use for this and that, number and types of objects in use, number available for use, file paths, processing time, etc, etc.  While most if not all of the information will be just text and numbers in some sort of label/value format, I can't rule out the need to display images. At this point, It too early to decide exactly what the box will need to show, but I would like to get started on it, since I think it will helpful for development purposes, too. Other than something like a 'Dismiss" button, I expect it to be read only. I am looking for suggestions in hope of avoiding going down the wrong path.  Thanks for your help. ---------------------------------------------------------------------- JuhaManninen · 2013-07-11 15:43 Quote from: Rails on July 11, 2013, 05:24:01 pmI am looking for suggestions in hope of avoiding going down the wrong path.  A normal form should be OK. Place labels and other controls in designer. Open it using ShowModal. ---------------------------------------------------------------------- Rails · 2013-07-11 16:02 Quote from: JuhaManninen on July 11, 2013, 05:43:52 pmQuote from: Rails on July 11, 2013, 05:24:01 pmI am looking for suggestions in hope of avoiding going down the wrong path.  A normal form should be OK. Place labels and other controls in designer. Open it using ShowModal. Thanks, but I am already at that point. I looking for suggestions on which specific control seems most appropriate for the purpose, especially given its current vagueness. I am trying to not to use multiple controls for this purpose, at least, not at present. I know I may have to go down that path in the future, if the information I need to present gets complicated enough. Just in case I wasn't clear, this is just for an info box only. The main program output is elsewhere. ---------------------------------------------------------------------- taazz · 2013-07-11 16:15 there are 2 html controls in the ccr i think. I would use one of them in a no border placement and add some code to convert some plain text to html or add some sort of grouping etc. ---------------------------------------------------------------------- Blaazen · 2013-07-11 16:36 QuoteIt will provide very generalized information, such as amount of memory in use for this and that, number and types of objects in use, number available for use, file paths, processing time, etc, etc.  While most if not all of the information will be just text and numbers in some sort of label/value format, I can't rule out the need to display images.Read-only StringGrid? After all, you can use OnDrawCell event to paint small images. ---------------------------------------------------------------------- Rails · 2013-07-11 17:22 Quote from: Blaazen on July 11, 2013, 06:36:16 pm Read-only StringGrid? After all, you can use OnDrawCell event to paint small images. Thank you Blaazen.  That one looks promising. I will give it a try.