The Check Box: The check box control displays a check mark when it is selected. It is commonly used to present a Yes/No or True/False selection to the user. You can use check box controls in groups to display multiple choices from which the user can select one or more.
Option Button: Option buttons, are typically used in a group of two or more. At any one time, only one button in the group can be "on". Clicking an option button turns it "on" and turns all other buttons in the group "off". What are the differences between an option button and a check box control? 1. In Check box, you can select multiple options. In Option Button you can select one option. 2. Option buttons are circular and check boxes are square. 3. When you click on an Option button, a little dot appears in the middle of the circle, when you click the check box little check mark appears in the middle of the square. Example3: Create a Visual Basic Project includes one TextBox, three CheckBoxes and three Option Buttons to change the style and color of your full name. Solution: The Code 6 CheckBox1: Private Sub Check1_Click() If Check1.Value = 1 Then Text1.FontBold = True Else Text1.FontBold = False End If End Sub CheckBox2: Private Sub Check2_Click() If Check2.Value = 1 Then Text1.FontItalic = True Else Text1.FontItalic = False End If End Sub CheckBox3: Private Sub Check3_Click() If Check3.Value = 1 Then Text1.FontUnderline = True Else Text1.FontUnderline = False End If End Sub Option Button1: Private Sub Option1_Click()
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|