Solved

how to change DBGrid property dgColumnResize in runtime

Posted on 2002-05-28
4
502 Views
Last Modified: 2010-04-04
How can I change the DBGrid property dgColumnResize in runtime?

The only property I can find is DBGrid.Options of the type TDBGridOptions, but I don't know how to change that type.

SPF
0
Comment
Question by:SPF
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 50 total points
ID: 7039021
DBGrid.Options := DBGrid.Options + [dgColumnResize]; //to allow resizing

DBGrid.Options := DBGrid.Options - [dgColumnResize]; //to forbid resizing

hope thats it

meikl ;-)
0
 

Author Comment

by:SPF
ID: 7039025
yes, thx :)

it workes
0
 

Author Comment

by:SPF
ID: 7039027
yes, It works, thx :)
0
 
LVL 27

Expert Comment

by:kretzschmar
ID: 7039031
glad to helped you :-))

i myself was a bit unsure,
because it was just from head

meikl ;-)
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
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…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

920 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

12 Experts available now in Live!

Get 1:1 Help Now