Results 1 to 4 of 4

Thread: How to show combo box at certain position on form

  1. #1

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    Houston, Tx
    Posts
    36

    How to show combo box at certain position on form

    i create a combo box with hidden property. i like to show this combo box whenever i double click on label of the form. I have twenty labels so i like to show combo box on exactly the position of the label i double click. Any help is really appreciated
    Aali

  2. #2
    WALDO
    Guest

    Easy one

    VB Code:
    1. Private Sub lblMyLabel_Click()
    2.     Me.cboCombo.Top = lblMyLabel.Top
    3.     Me.cboCombo.Left = lblMyLabel.Left
    4. End Sub

  3. #3
    Frenzied Member MrGTI's Avatar
    Join Date
    Oct 2000
    Location
    Ontario, Canada
    Posts
    1,277

    Talking

    And of course, .... you'll need to also say cboCombo.Visible = True

    But you already knew that!
    ~Peter


  4. #4

    Thread Starter
    Member
    Join Date
    May 2001
    Location
    Houston, Tx
    Posts
    36
    Thanks You Guys, Really Appreciated
    Aali

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