Recent

Author Topic: BGRAVirtualScreen inside TScrollbox - Clipping?  (Read 2478 times)

trayres

  • Jr. Member
  • **
  • Posts: 92
BGRAVirtualScreen inside TScrollbox - Clipping?
« on: February 16, 2017, 09:03:04 pm »
With a BGRAVirtualScreen inside a ScrollBox, when I try to set the size of the Virtual Screen's Width or Height, it clips to the size of the ScrollBox!

Inspecting the virtual screen, "FBOUNDSREALIZED" is the clipped value.

I have tried all the various combination of AutoSize, but something is preventing BGRAVirtualScreen's SetBounds from taking the new size value.

What am I missing?!

lainz

  • Hero Member
  • *****
  • Posts: 4468
    • https://lainz.github.io/
Re: BGRAVirtualScreen inside TScrollbox - Clipping?
« Reply #1 on: February 16, 2017, 09:29:08 pm »
Don't use AutoSize, and you're sure that is not aligned to client?

trayres

  • Jr. Member
  • **
  • Posts: 92
Re: BGRAVirtualScreen inside TScrollbox - Clipping?
« Reply #2 on: February 16, 2017, 10:56:26 pm »
Don't use AutoSize, and you're sure that is not aligned to client?

...and it's fixed!

Thanks a ton @lainz!

 

TinyPortal © 2005-2018