برمجة الحاسب الآلي Computer's Programming
٦- اختر الكائن OptSmile من قائمة الكائنات بنافذة البرمجة.
End Sub
۳۲۹
Private Sub ObtSmile-click ( )
imgFrown .visible=False
imgSmile .visible = true
imgGrin .visible = False
مرحبا بكم= txtSmile .text
txtGrin .text = “ “
txtFrown .text = ""
End Sub
- اكتب الأوامر التالية:
نافذة البرمجة بقائمة الكائنات. - اختر الكائن OptFrown من
Private Sub ObtFrown-click ( )
imgFrown .visible = true
imgSmile .visible = False
imgGrin .visible = False
txtSmile .text=""
txtGrin .text =" "
txtFrown .text="
End Sub
"يا له من وقت عص
۹ - اكتب الأوامر :
۱۰ - انقر قائمة الكائنات بنافذة البرمجة واختر الكائن cmdExit.
۱۱ - اكتب الأوامر التالية فيه:
Private Sub cmdExit -click ( )
UnLoad Me
End Sub
ص٣٢٩