Icon View Thread

The following is the text of the current message along with any replies.
Messages 11 to 14 of 14 total
Thread TPanel Scrollbars not appearing
Fri, Dec 15 2017 6:09 PMPermanent Link

Matthew Jones


>
> So, you're trying to both auto-size in the vertical direction (even
> partly) *and* use vertical scrollbars ?
>

Auto-size the “frame” and scroll the content. Just like a scroll panel I
guess. When would scroll bars ever work? I don’t think it works fixed size
but I can’t be sure I tried it.


--
Matthew Jones
Mon, Dec 18 2017 3:52 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

Okay, I looked at your project, and yes, there is a problem with the scrolling with the TPanel control.

To fix it just replace this method in the WebCtnrs unit:

procedure TPanelControl.InitializeProperties;
begin
  inherited InitializeProperties;
  InterfaceState:=NORMAL_STATE_NAME;
  FCaptionBar:=TPanelCaptionBar.Create(Self);
  FCaptionBar.LayoutOrder:=0;
  FClient:=TPanelClient.Create(Self);
  HorzScrollBar.LayoutOrder:=1;  // Fix !!!!
  VertScrollBar.LayoutOrder:=2;   // Fix !!!!
  TabStop:=True;
end;

I'll have a fix for this in the next build, which will probably be early next week.

--

Tim Young
Elevate Software
www.elevatesoft.com
Tue, Dec 19 2017 5:04 AMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

>    HorzScrollBar.LayoutOrder:=1;  // Fix !!!!
>    VertScrollBar.LayoutOrder:=2;   // Fix !!!!

Works fine, thanks. Happy Holidays to you and yours.

--

Matthew Jones
Tue, Dec 19 2017 11:58 AMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< Works fine, thanks. Happy Holidays to you and yours. >>

Thanks.  Have a great Christmas !

Tim Young
Elevate Software
www.elevatesoft.com
« Previous PagePage 2 of 2
Jump to Page:  1 2
Image