how to set the right canvas in an firemonkey application? -


i have 2d scene editor based on firemonkey. user can select/move various complex 2d objects on ipad. problem, objects drawn on scrollbar also.

the visual structure simple. form contains tabcontrol. tabcontrol's editor tab has 2 scrollbar (right, bottom). on tab client area there tlayout type component (aligned alclient). 2d objects parents layout component. 2d object parent type tshape.

i assume application draw on form directly instead of drawing on editor tab. how set correct drawing canvas?

the solution:

layout.clipchildren := true; 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -