Solved

Hiding DBGrid Columns at Runtime

Posted on 1998-10-17
2
514 Views
Last Modified: 2010-04-06
I have a table that is picked and displayed at runtime. Anyone tell me how I go about hiding several of the columns (fields)

Thanks
0
Comment
Question by:DougBennett
2 Comments
 
LVL 5

Accepted Solution

by:
inter earned 20 total points
ID: 1343216
Ok then, you can hide the individual fields in run time by
  MyDBGrid.Fields[0].Visible := false; etc...
regards, igor (note that you should be carefull in doing so, always check for MyDbGrid.FieldCount to not have exception..)
0
 

Author Comment

by:DougBennett
ID: 1343217
Adjusted points to 25
0

Featured Post

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
PDF library for Delphi 2 121
Delphi XE10 Round Image 2 126
Press three keys together and trigger a function 3 56
Need Help Delphi 2010 CheckBox1 Stored value in memo 13 66
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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…

770 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