Hello everyone, I decided nevertheless to create a thread in the forum as well as a question, it seems to me interesting.
So. VB.Net, Windows Forms. I would like to make my Controll as a spoiler, which are used on forums to hide / deployment of the text.
"Skeleton" spoiler is visible on the link
Spoiler - 288x158[
^]
Now a question: How to make so that it was possible in the text property of Label1 paste text?
Thank you for attention! Bricks in my party are welcome :)
P.S. Sorry fo my English. Its Google Translate :)
What I have tried:
So I decided to disclosure and closing the spoiler:
Private Sub MoreBtn_Click(sender As Object, e As EventArgs) Handles MoreBtn.Click
If Tag = 0 Then
Tag = 1
SpoilerText.Size = New Size(250, 80)
MoreBtn.Location = New Point(184, 110)
Else
Tag = 1
SpoilerText.Size = New Size(250, 20)
MoreBtn.Location = New Point(190, 35)
Tag = 0
GoTo a
End If
a:
End Sub