Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread suggested feature : autoheight option for TGrid
Sat, Sep 11 2021 8:58 PMPermanent Link

erickengelke

Avatar


Several times I've needed TGrid to grow or shrink to show exactly the number of lines in RowCount, ie. avoid scrolling or empty boxes.  With EWB's responsive design, this looks very good.

So obviously I can implement code to do this by setting the height to the header's height + sufficient space for each roow * rowcount, and have several times, but it would be a handy feature to have an autoeight button built-in.
EWB Programming Books and Component Library
http://www.erickengelke.com
Sat, Sep 11 2021 9:00 PMPermanent Link

erickengelke

Avatar

erickengelke wrote:


>Several times I've needed TGrid to grow or shrink to show exactly the number of lines in RowCount, ie. avoid
>scrolling or empty boxes.  With EWB's responsive design, this looks very good.

> So obviously I can implement code to do this by setting the height to the header's height + sufficient space for each
> roow * rowcount, and have several times, but it would be a handy feature to have an autoeight button built-in.

Sorry, an AUTOHEIGHT flag built in.

Erick
EWB Programming Books and Component Library
http://www.erickengelke.com
Tue, Sep 14 2021 8:21 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Erick,

<< Several times I've needed TGrid to grow or shrink to show exactly the number of lines in RowCount, ie. avoid scrolling or empty boxes.  With EWB's responsive design, this looks very good. >>

I will see what I can do.

BTW, I will be looking into your reported issue shortly - I got sidetracked with the new RAD Studio 11 releases.

Thanks,

Tim Young
Elevate Software
www.elevatesoft.com
Image