Results 1 to 3 of 3

Thread: UserControl alignment

  1. #1

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303
    I've created a small usercontrol program which contains a picture box and small command buttons. I've managed to sort out its height.

    What I need to be able to do is set its left and width to always match that of the from. (Similar to the align feature of the picture box)

    Help!
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

  2. #2
    Member
    Join Date
    Oct 2000
    Location
    London
    Posts
    53
    You need to set the Alignable Property of the UserControl to True, then you will be able to set the alignment for the instance of your control.

  3. #3

    Thread Starter
    Hyperactive Member parkes's Avatar
    Join Date
    Jan 1999
    Location
    Unitied Kingdom
    Posts
    303

    Thumbs up

    Many thanks.

    How thick am I for missing that one LOL
    Thanks in advance for any help provided.

    VB 6 Enterprise Edition SP4
    ADO, SQL 7/2000, ASP and some JavaScript


    >> Life goes on, but for how long? <<
    If you can smile when things go wrong, you have someone in mind to blame

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