* * *

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

trayres

  • Jr. Member
  • **
  • Posts: 67
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: 1732
  • Nace una flor, todos los días sale el sol...
    • BGRABitmap
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: 67
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!

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus