Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

how to change DBGrid property dgColumnResize in runtime

Posted on 2002-05-28
4
Medium Priority
?
544 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 200 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

Independent Software Vendors: 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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…
Suggested Courses

688 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