Results 1 to 3 of 3

Thread: picture control

Threaded View

  1. #1

    Thread Starter
    Addicted Member finn0013's Avatar
    Join Date
    Jan 2001
    Location
    Charleston, SC
    Posts
    222

    Need help w/this control

    I have a picture control that I am creating a new instance of (via an array) - for each new instance, I have a label that should show up on top of the picture with a number that shows the index number of the array - when I set the visible property of the first control, picture(0), to TRUE the label shows up just fine. Whenever I actually create a new instance of it through code though, the pic shows fine, but no label - here is what I have:

    Code:
    Public Sub newTable()
        Dim Index As Integer
        
        'Get the number of pics currently on the form
        Index = picTableHorizontal().Count
        
        'Create a new instance of the picture
        Load picTableHorizontal(Index)
        Load lblNums(Index)
            
        DoEvents
        
        picTableHorizontal(Index).Visible = True
        picTableHorizontal(Index).MouseIcon = picHandOpen
        
    End Sub
    The label is contained inside the picture control - I have tried playing with the ZOrder property as well as the Visible property, but neither seem to do anything for the problem.....

    Somebody pleeeease help!
    Last edited by finn0013; Jan 30th, 2001 at 09:43 AM.

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