Solved

how to change DBGrid property dgColumnResize in runtime

Posted on 2002-05-28
4
514 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

821 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