Set the Layout Behavior of Controls with the J++ Form Designer

The Visual J++ Form Designer allows you to both anchor and dock controls on a form. When a control is anchored to an edge of its container, the distance between the control and the specified edge remains constant when the container resizes. When a control is docked to the edge of its container, it remains in contact with that edge when the container resizes.

A control can be anchored to any combination of the edges of a control. If the control is anchored to opposite edges of its container (for example, to the top and bottom), it resizes when the container resizes. To anchor the control within the form, double-click on the anchor property for the control. In the Anchor editor, click the cross bars to enable and disable anchoring between the control and the form edge.

More than one control can be docked to the edge of a form. If multiple controls are docked to the same edge, one is docked to the edge of the container, and the others are docked as close as possible to the edge without covering each other. To modify docking behavior for a control, double-click the control’s dock property. In the Docking editor, click the bars to enable and disable docking for the control. Click None to disable docking.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

The Latest

iOS app development

The Future of iOS App Development: Trends to Watch

When it launched in 2008, the Apple App Store only had 500 apps available. By the first quarter of 2022, the store had about 2.18 million iOS-exclusive apps. Average monthly app releases for the platform reached 34,000 in the first half of 2022, indicating rapid growth in iOS app development.

microsoft careers

Top Careers at Microsoft

Microsoft has gained its position as one of the top companies in the world, and Microsoft careers are flourishing. This multinational company is efficiently developing popular software and computers with other consumer electronics. It is a dream come true for so many people to acquire a high paid, high-prestige job

your company's audio

4 Areas of Your Company Where Your Audio Really Matters

Your company probably relies on audio more than you realize. Whether you’re creating a spoken text message to a colleague or giving a speech, you want your audio to shine. Otherwise, you could cause avoidable friction points and potentially hurt your brand reputation. For example, let’s say you create a