Recent

Author Topic: dbgrid columns will not size at run time  (Read 1132 times)

SA.Blackmon

  • New Member
  • *
  • Posts: 37
  • Just an old retired guy practicing what he enjoys.
dbgrid columns will not size at run time
« on: October 10, 2021, 03:07:44 am »
When I say dbgrid columns will not size I mean:<br>1. can't resize with a mouse; you get the double bars with arrows to the left and right but you can't drag them.<br>2. they can't be resized programmatically.<div><br></div><div>I apologize if I have missed something obvious. I have been programming python for the past year or so and this was not a happy homecoming to Lazarus.</div><div><br></div><div>Thank you for your help.</div><div>Sherril</div>
Thank you for your help,
Sherril

SA.Blackmon

  • New Member
  • *
  • Posts: 37
  • Just an old retired guy practicing what he enjoys.
Re: dbgrid columns will not size at run time
« Reply #1 on: October 13, 2021, 07:12:14 pm »
SOLVED:  :o
Deleted the TDBGrid and added one anew.
Everything worked fine then.

By the bye, decided the TDataSource-TDBGrid facility was not what I needed and replaced it with a TStringGrid.

Thanks to all.
Thank you for your help,
Sherril

 

TinyPortal © 2005-2018