Recent

Author Topic: RxDBGrid & DefaultRowHeight  (Read 3508 times)

kit

  • New Member
  • *
  • Posts: 39
RxDBGrid & DefaultRowHeight
« on: September 13, 2016, 08:52:16 am »
I want that DefaultRowHeight run-time calc auto from row font size if it set to zero (DefaultRowHeight = 0)

alexs75

  • Full Member
  • ***
  • Posts: 112
Re: RxDBGrid & DefaultRowHeight
« Reply #1 on: September 14, 2016, 09:16:11 am »
To implement this feature, you must make changes to the Grids unit. The question we must ask the developer Grids / DBGrids - jesusr.

While you can use the
Code: Pascal  [Select][+][-]
  1. function TCustomGrid.GetDefaultRowHeight: integer;

kit

  • New Member
  • *
  • Posts: 39
Re: RxDBGrid & DefaultRowHeight
« Reply #2 on: September 15, 2016, 07:11:39 am »
Can you add option dgAutoSizeRows and define DefaultRowHeight when Grid create or paint

alexs75

  • Full Member
  • ***
  • Posts: 112
Re: RxDBGrid & DefaultRowHeight
« Reply #3 on: September 15, 2016, 07:46:09 am »
it may be better to add a method OptimizeColumnsHeight?

kit

  • New Member
  • *
  • Posts: 39
Re: RxDBGrid & DefaultRowHeight
« Reply #4 on: September 17, 2016, 06:56:14 am »
maybe. must try

 

TinyPortal © 2005-2018