On Tuesday 24 May 2016 21:11:02 Krzysztof wrote: > 2016-05-24 17:10 GMT+02:00 Martin Schreiber <[email protected]>: > > TScrollBox uses a padding defined by Container.Frame.FrameI_*. Either set > > Anchors of the boolean edit to [an_left,an_bottom] or set > > Container.Frame.FrameI_bottom to 0 or place the the boolean edit at least > > Container.Frame.FrameI_Bottom above the the bottom edge. > > Container.InnerWidgetRect() returns the scrollbarfree placement area > > based on widget origin. > > That was it! Thanks! As FrameI_bottom is understandable and logical > for me, can you explain why anchors [an_left,an_bottom] also do the > trick? > [an_left,an_bottom] widgets are glued to the bottom edge, the vertical scrollbar appears if the top edge of the widget touches the top edge + padding of the container widget. Placing such a widget behind the container top edge at design- or run-time can have strange effects.
Martin ------------------------------------------------------------------------------ Mobile security can be enabling, not merely restricting. Employees who bring their own devices (BYOD) to work are irked by the imposition of MDM restrictions. Mobile Device Manager Plus allows you to control only the apps on BYO-devices by containerizing them, leaving personal data untouched! https://ad.doubleclick.net/ddm/clk/304595813;131938128;j _______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

