Solved

Hiding DBGrid Columns at Runtime

Posted on 1998-10-17
2
509 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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

708 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

16 Experts available now in Live!

Get 1:1 Help Now