?
Solved

Hiding DBGrid Columns at Runtime

Posted on 1998-10-17
2
Medium Priority
?
520 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
inter earned 80 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
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…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …
Suggested Courses
Course of the Month10 days, 23 hours left to enroll

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