Welcome, Visitor!

Hello, we are really happy that you have reached us. However, since you are viewing the forum as a visitor, you cannot benefit from many features of the forum. How about taking advantage of all the features exclusive to our members by registering? You can register right now, taking just 2 minutes of your time. We would love to see you among us.

Vb.Net Animasyonlu Menü

S

Spoidead

Thread Starter
Confirmed Memb.
Joined
Oct 21, 2019
Messages
59
Reaction score
318
Points
53
RC Point
0
Hepinize selamlar animasyonlu menü nasıl yapılır onu göstereceğim.

Formu alttaki resim gibi ayarlayın.
1572710404735.png
Yukardaki label'e uygulamanızının adının baş harflerini yazın.

Gerekenler:
2 adet Timer
1 adet Label
1 adet Button
1 adet Panel

NOT: Uzunlukları istediğiniz gibi ayarlayabilirsiniz.

Kodlar:
Button1
If Button1.Text = "->" Then
Timer1.Enabled = True
End If
If Button1.Text = "<-" Then
Timer2.Enabled = True
End If

Timer1 (Intervali 25 yapın)
Panel1.Width += 1
Panel1.Width += 1
If Panel1.Width = 148 Then ' Panel1 in yeni uzunluğunu alınca yapacağı işlemler
Timer1.Enabled = False
Label1.Text = "LifeQuenn"
Button1.Text = "<-"
Button1.Location = New Point(92, 423) ' Menü büyültme , küçültme tuşunun eski konumu
End If

Timer2 (Intervali 25 yapın)
Panel1.Width -= 1
Panel1.Width -= 1
If Panel1.Width = 66 Then ' Panel1 in eski uzunluğunu alınca yapacağı işlemler.-
Timer2.Enabled = False
Label1.Text = "LQ"
Button1.Text = "->"
Button1.Location = New Point(9, 421) ' Menü büyültme , küçültme tuşunun yeni konumu
 
SPAM IS FORBIDDEN!
  • SPAMMERS ARE BANNED FROM THE FORUM AND CANNOT USE ANY OF THE CHEATS
  • For example: thanks, thx, very good, asdqwe, working, ty and so on!
  • For example: Writing the same message over and over. thanks, thx and so on!
  • Copying and copying someone else's message is prohibited.
  • It is forbidden to send messages to increase the number of comments on threads that you have no knowledge of.
  • Write your own opinion when commenting!
  • If you see spam message, please let us know with the REPORT button!

Theme editor

Top Bottom