Solved

how to change DBGrid property dgColumnResize in runtime

Posted on 2002-05-28
4
519 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
[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
  • 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

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…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

752 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