Results 1 to 6 of 6

Thread: Can I control in one line the Top,Left of some labels?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    112

    Can I control in one line the Top,Left of some labels?

    Hi All

    Can I control some labels in one line,

    I write it like this:
    ETSI_Selector(1).Left = 1463
    ETSI_Selector(2).Left = 1463

    and I want to change it to one line.
    Can I do it?

    Thanks!
    Y

  2. #2
    Freelancer akhileshbc's Avatar
    Join Date
    Jun 2008
    Location
    Trivandrum, Kerala, India
    Posts
    7,652

    Re: Can I control in one line the Top,Left of some labels?

    Code:
    dim i as integer
    For i=1 to 10
    ETSI_Selector(i).Left = 1463
    next i

    If my post was helpful to you, then express your gratitude using Rate this Post.
    And if your problem is SOLVED, then please Mark the Thread as RESOLVED (see it in action - video)
    My system: AMD FX 6100, Gigabyte Motherboard, 8 GB Crossair Vengance, Cooler Master 450W Thunder PSU, 1.4 TB HDD, 18.5" TFT(Wide), Antec V1 Cabinet

    Social Group: VBForums - Developers from India


    Skills: PHP, MySQL, jQuery, VB.Net, Photoshop, CodeIgniter, Bootstrap,...

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    112

    Re: Can I control in one line the Top,Left of some labels?

    Thanks a lot!

  4. #4
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: Can I control in one line the Top,Left of some labels?

    Tip: If you want to change both Top & Left of the same label(s). Use 1 .Move command vs 1 each .Top & .Left property changes.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2009
    Posts
    112

    Re: Can I control in one line the Top,Left of some labels?

    What is the syntax of the Move command?
    I tried to write it but I got errors...

  6. #6
    PowerPoster Ellis Dee's Avatar
    Join Date
    Mar 2007
    Location
    New England
    Posts
    3,530

    Re: Can I control in one line the Top,Left of some labels?

    Control.Move Left, Top

    eg:

    ETSI_Selector(1).Move 1463, 700

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