Solved

Add/Delete DBGrid ColumnFields

Posted on 1998-07-28
2
151 Views
Last Modified: 2010-04-04
With DBGrid
how do I Add and Delete FieldsColumns in Run-time?
0
Comment
Question by:rainbowsoftware
2 Comments
 
LVL 3

Accepted Solution

by:
Matvey earned 20 total points
ID: 1358782
To add use   DBGrid1.Columns.Add

To remove use   DBGrid1.Columns[i].Destroy;

--Matvey
0
 

Author Comment

by:rainbowsoftware
ID: 1358783
I have tried Delete and Erase but not Destroy, so thank you for your help.
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
This video discusses moving either the default database or any database to a new volume.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

743 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

11 Experts available now in Live!

Get 1:1 Help Now