Results 1 to 7 of 7

Thread: Missing Label *Solved*

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Dec 2013
    Location
    Earth
    Posts
    230

    Missing Label *Solved*

    I programatically created a label, but it is not visible. However PanelButton (a panel) does show up.

    vb Code:
    1. PanelButton.Parent = Me
    2. PanelButton.Visible = True
    3. PanelButton.Location = New Point(0, 80)
    4. PanelButton.Size = New Size(40, 40)
    5.  
    6. TextLabel.Parent = PanelButton
    7. TextLabel.Visible = True
    8. TextLabel.Location = PanelButton.Location
    9. TextLabel.AutoSize = False
    10. TextLabel.Size = PanelButton.Size
    11. TextLabel.BringToFront()
    12. TextLabel.BackColor = Color.White
    13. TextLabel.ForeColor = Color.Black
    14. TextLabel.TextAlign = ContentAlignment.MiddleCenter
    15. TextLabel.Text = "?"

    Can someone please show me what I'm doing wrong? Thanks
    Last edited by NinjaNic; Aug 6th, 2014 at 05:29 PM.

Tags for this Thread

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