How to make PageControl occupy full screen when form is maximized at Delphi -


at delphi form (780 * 472) put pagecontrol same dimension (780 * 472). @ run time when form maximized pagecontrol not occupying full screen shown in figure below. how make pagecontrol occupy full screen when form maximized.

enter image description here

adjust anchor(if on firemonkey instead of vcl @ margins , padding properties) property of pagecontrol allow auto resize of component. take @ this video tutorial more information.