|
| Autor |
Nachricht |
ShadowLenny Tutorial Leser

Anmeldedatum: 25.05.2008 Beiträge: 54
|
PictuerBox2.Location.X um 1 erhöhen.
Verfasst am: 21.08.2008, 19:37 |
|
|
Moin, Leute. ich habe mal eine kurze und kleine Frage: Wie kann man die Kkordinate einer PictureBox um 1 erhöhen? Wie man eine neue Location bestimmt weiß ich, aber wie man eine einzelne koordinate erhöht, leider nicht.
Bitte um Hilfe.
Gruß,Lenny. |
|
| |
|
 |
^^kev#### Überflieger

Anmeldedatum: 01.05.2008 Beiträge: 476 Wohnort: Haan
|
Verfasst am: 21.08.2008, 20:18 |
|
|
So :p
Visual Basic: [code]PictureBox1.Location = New System.Drawing.Point(PictureBox1.Location.X + 1, PictureBox1.Location.Y + 1)[/code]
|
|
| |
|
 |
ShadowLenny Tutorial Leser

Anmeldedatum: 25.05.2008 Beiträge: 54
|
Verfasst am: 22.08.2008, 13:27 |
|
|
| Aaaah^^ Klasse! Vielen Dank^^ |
|
| |
|
 |
Metropoler Newbie


Anmeldedatum: 20.02.2009 Beiträge: 4 Wohnort: Düsseldorf
|
Verfasst am: 20.02.2009, 03:09 |
|
|
| ^^kev#### hat Folgendes geschrieben: | So :p<br /><br />Visual Basic: | Code: | | PictureBox1.Location = New System.Drawing.Point(PictureBox1.Location.X + 1, PictureBox1.Location.Y + 1) |
|
Hallo,
reicht nicht einfach
| Code: | | [...] = New Point[...] |
? da ich nur das bisher kenne. Nicht dieses System.Drawing.
Is zwar älter das Problem, aber wäre dennoch über eine Antwort erfreut  |
|
| |
|
 |
belyj Newbie

Anmeldedatum: 06.03.2009 Beiträge: 1
|
Verfasst am: 06.03.2009, 07:50 |
|
|
| Code: | Hoch
PictureBox1.Location = New Point(PictureBox1.Location.X + 0, PictureBox1.Location.Y - 2)
Runter
PictureBox1.Location = New Point(PictureBox1.Location.X + 0, PictureBox1.Location.Y + 2)
Links
PictureBox1.Location = New Point(PictureBox1.Location.X - 2 , PictureBox1.Location.Y + 0)
Rechts
PictureBox1.Location = New Point(PictureBox1.Location.X + 2 , PictureBox1.Location.Y + 0) |
So hab ich das Problem gelöst...  |
|
| |
|
 |
|
|