Results 1 to 2 of 2
  1. #1
    New Lounger
    Join Date
    Mar 2002
    Location
    Maryland
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Programmatically moving controls (2000 SR-1)

    Is there a way to programmatically manipulate (move, hide, enable) a group of controls on a form as a unit using VBA? Thanks in advance,

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Programmatically moving controls (2000 SR-1)

    Not directly; there is no group control (other than an option group) like there is in VB. You basically have to create your own "groups". One way is to put a group identifier in each control's Tag property. You can then quickly cycle through all the controls and modify a specific property (like enabled, locked, or visible) based on the value in the tag property.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

Posting Permissions

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