Results 1 to 30 of 30

Thread: VB6 Control Anchoring and Docking made Easy

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    Jun 2018
    Location
    New Orleans, Austin, Santa Monica
    Posts
    35

    VB6 Control Anchoring and Docking made Easy

    This is my attempt to make control anchoring as quick and easy as possible in VB6.

    VB6 control anchoring can be achieved with one line of code per Control in the Form1 Resize subroutine, with the addition of this one short module "ModuleControlAnchor"

    To anchor a control, add this module to your project, and place this one line of code into the Sub Form_Resize():

    Anchor ControlName, AnchorTop (True or False) , AnchorLeft, AnchorRight, AnchorBottom

    Please check out the demo and use freely.

    SeabrookStan
    Attached Files Attached Files
    Last edited by SeabrookStan; Jan 11th, 2019 at 02:12 AM. Reason: Code updated

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width