The Picture Box: The picture box allows you to place Picture on a form. It is best suited for dynamic environments - for example, when doing animation by using OCX files. Picture Box useful Property: AutoSize: If True, displaying and fit the real size of the large picture. If False, we cannot resize the large image. Picture: (), to upload a picture from the computer. Example1: Displaying Picture Box in a second form When an inputBox in the first form = 10. Solution: Code: Command1: Dim a As Integer Private Sub Command1_Click() a = InputBox("What is the No.?", "Example", "") If a = 10 Then Form1.Hide Form2.Show End If End Sub
Image Box: The image box is very similar to a picture box in that it allows you to place an image on a form. Image boxes are more suited for static situations. Picture Box useful Property: Picture: (), to upload a picture from the computer. Stretch: If True, we can resize the image to any suitable size. If False, we cannot resize the large image. Example2: Displaying Image Box in a second form When an inputBox in the first form = 10. Solution:
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
الرجوع الى لوحة التحكم
|