VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Sliding Divider (slider bar)

Aaron Stephens  (1 Submission)   Custom Controls/Forms/Menus   Visual Basic 3.0   Unknown Difficulty   Wed 3rd February 2021

Resizes two text boxes AS a divider is dragged left or right. Maintains full bounds checking. The methods used can be applied to other controls as well. This is a form of splitter bar.

Assumes
This is a very simple form with only two text boxes and a picture box. All the code is fully documented and fully adaptable. *************************************************************************** Create a new form. The name is irrelevant to this code. Place two text boxes and a picture box on the form. Name one text box "TextLeft" and the other "TextRight". Name the picture box "SlidingDivider". All other attributes should be left as-is. Location and dimenstion of the controls are irrelevant.

API Declarations
None

Rate Sliding Divider (slider bar) (3(3 Vote))
Sliding Divider (slider bar).bas

Sliding Divider (slider bar) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters