In diesem Tutorial zeige ich euch wie ihr ein Programm machen könnt, das eine MsgBox kreirt.
Erstmal erstelt ihr ein neues Projekt namens "MSGCreator"
Ihr könnt auch einen anderen namen wählen.
Klickt dann einmal auf Form 1, dann bei Eigenschaften die Überschrift machen.
So wenn ihr alles fertig habt gehts los.
1
----------
Das Zubehör.
Ihr braucht:
1 Button
2 Labels
2 Textboxen
2
----------
Der Aufbau
Platziert die Buttons und die Textboxen beliebig.
Über den Textboxen sollte man die Labels machen.
Hier ist ein Bild was ich meine:
Benennt Label 1 in "Typ der MsgBox" um.
Und Label 2 in "Text der MsgBox"
Benennt den Button nun um.
Klickt dazu einmal auf den Button und geht dann auf eigenschaften und gebt als Titel ein: "MsgBox erstellen"
Hier noch ein Bild:
3.
---------------
Das Coding
Soweit zum Aufbau. Jetzt müsst ihr nurnoch den Code eingeben.
Macht dazu auf den Button einen Doppelklick und gebt als Code ein:
code:
1:
MsgBox (Textbox2.text, Textbox1.text)
Dann seid ihr auch schon fertig und könnt es testen.
Noch ein Bild:
4.
-------------
WEITERE INFOS!!!
Als "Typ" müsst ihr das Aussehen angeben.
Beispiele:
16-Kritischer Fehler
49-Information
usw.
Guckt im Internet oder Probiert einfach mal selbst was aus.
If you were enjoying this post and if you keen on reading more interesting stuff then do not hesitate to complete the free sign up.
After the free registration you will gain access to all areas and you will be able to communicate with other artists from all over the world.
In addition you will benefit from our Photoshop and coding section as well as from our huge (hundreds of gigabytes) free resource section where you can find everything you will need to be a successful (web) designer/artist.
Sign up now and enjoy the advantages as a registered member.
(This website will be ad-free after a complete free sign up.)