I programatically created a label, but it is not visible. However PanelButton (a panel) does show up.
vb Code:
PanelButton.Parent = Me PanelButton.Visible = True PanelButton.Location = New Point(0, 80) PanelButton.Size = New Size(40, 40) TextLabel.Parent = PanelButton TextLabel.Visible = True TextLabel.Location = PanelButton.Location TextLabel.AutoSize = False TextLabel.Size = PanelButton.Size TextLabel.BringToFront() TextLabel.BackColor = Color.White TextLabel.ForeColor = Color.Black TextLabel.TextAlign = ContentAlignment.MiddleCenter TextLabel.Text = "?"
Can someone please show me what I'm doing wrong? Thanks




Reply With Quote
