OptionButton, CheckBox компоненттері

Slides:



Advertisements
Similar presentations
Introducing More Controls Text boxCheck box Option button Command button frame image.
Advertisements

Graphical User Interface (GUI) A GUI allows user to interact with a program visually. GUIs are built from GUI components. A GUI component is an object.
VB Controls and Events Week 7: Picture Box, Image Box, Option, Check box, Mouse over, Frames, Shapes.
110-C1 Chapter 2 of the text: _ text boxes, group boxes, check boxes, radio buttons, picture boxes _ defining access keys tab sequence setting the focus.
Adding Controls to User Forms. Adding Controls A user form isn’t much use without some controls We’re going to add controls and write code for them Note.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Game Programming Advanced Computer Programming.
IN THE NAME OF ALLAH UserForms on VBA Lab 06 Tahani Al_dweesh.
Multimedia ! Graphics ! Animation ! Sound Tip Of the Day 4 Tip of the Day: When using graphic methods at Form Load, the AutoRedraw property of the container.
Introduction to Programming Using Visual Basic 6.0
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Assignment #1 Advanced Computer Programming.
ME 142 Engineering Computation I Custom Dialog Boxes.
1 Flow Control II Code: Select-Case and For-Next Controls: Frames and OptionButtons.
Chapter 2 P. 1 Introducing more controls (on the Toolbox) (Fig. 2.1) - Text box - Frame - Option button - Check box - Image Example P. 44 Figure 2.2 Message.
OBJECTIVES: To open an existing Project called HelloWorld. To learn how set properties using the property window and how to set them in the code. Chapter.
Controls. Adding Controls to Form -You can pick controls from the toolbox. -To add the controls from Toolbox to the Form You have be in design view. -To.
Visual Basic Programming Introduction VB is one of the High level language VB has evolved from the BASIC language. BASIC stands for Beginners All-purpose.
More Form Tools Combo Box (displays a list) Check Box (yes/no) Frame (groups option buttons) Option Button (exclusive choice) Ref Edit (user selects cells)
1.Click on “Start” menu 2.Click on “ 1. Choose a different layout for your slide.
VB Objects & Events (Exercises) School of Business Eastern Illinois University © Abdou Illia, Spring 2003 (Week 3, Friday 1/31/2003)
2d – CheckBox Lingma Acheson Department of Computer and Information Science, IUPUI CSCI N331 VB.NET Programming.
COMPUTER PROGRAMMING I 3.02 Apply Properties Associated with the Controls.
Pay Example (PFirst98) Please use speaker notes for additional information!
Word Processor Version.01 EME 4411 Week 5. The Scroll Bars.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Introduction to Programming Using Visual Basic 6.0 Cheryl Klimack
CheckBox i Option Button. Private Sub Command1_Click() Check1 = 1 If Check1 = 1 Then Text1.FontBold = True Else Text1.FontBold = False End If Check2 =
Dr. Al-Mothana Gasaymeh. تشغيل البرنامج أجزاء البرمجية شريط العنوان title bar شريط القوائم menus bar شريط الادوات tool bar صندوق الادوات tool box شاشة.
COMPUTER PROGRAMMING I 3.01 Apply Controls Associated With Visual Studio Form.
Introduction to Computing
3.01 Apply Controls Associated With Visual Studio Form
How To Add Titles, Captions And Credits In Windows Movie Maker
3.01 Apply Controls Associated With Visual Studio Form
Standard Controls.
Please use speaker notes for additional information!
الاسباب الأضرار وسائل الحمايه
Visual programming Chapter 3: GUI (Graphical User Interface) Part I
البرمجة بلغة فيجول بيسيك
The Check Box Control Consists of a small square and a caption
مراحل كتابة البرنامج بلغة فيجول بيسك ستديو
Microsoft Visual Basic
المحاضرة الأولى Lab(1) أ.ساره الأحمدي برمجة حاسب 2.
Module 2 إنشاء تطبيقات الويندوز
Chapter 6 - Visual Basic Schneider
Visual Basic Objects Controls
Visual Basic Objects Controls
Жұмыс дәптері Visual Basic Информатика пәнінен таңдау курсы 10-сынып
Визуалды бағдарламалау ортасы.
Drawing a Stick Figure!.
Қайырлы күн!.
Project Design, Forms and Buttons
“VB-да Графикалық әдістер мен процедуралар”
Маңғыстау облысы Жаңаөзен қаласы №17 орта мектеп
KUPOVINA ONLINE.
SEMAFOR.
CheckBox i Option Button
Data Types List Box Combo Box Checkbox Option Box Visual Basic 6.0
If statements (Inven1, Inven2, Inven2a, Inven3, Inven3a)
KUPOVINA ONLINE.
Introduction to Programming
2g – ComboBox Lingma Acheson CSCI N331 VB .NET Programming
OptionButton, CheckBox компоненттері
Osobine FORMA Name frmIgra Caption Igra Command1 Name cmdSmanji
3.Visual Basic Controls.
Графикалық файлдарды ендіру. Дыбыспен жұмыс.
label1 Name label2 Time (0-23) textBox1 textBox2 textBox3 button1
Refined14ReportPowerpointTopic templates
Text for section 1 1 Text for section 2 2 Text for section 3 3
Text for section 1 1 Text for section 2 2 Text for section 3 3
Insert the title of your presentation here
Presentation transcript:

OptionButton, CheckBox компоненттері 96-97 бет

OptionButton Ауыстырып қосқыш, CheckBox Жалауша

CheckBox OptionButton

OptionButton Ауыстырып қосқыш Мәліметтер топтамасы ішінен тек бір вариантын ғана таңдауына мүмкіндік береді.

CheckBox Жалауша Топтамалар ішінен бір немесе бірнеше вариант таңдауына мүмкіндік береді.

CheckBox OptionButton Value Style Picture Caption Visible Enabled Font Негізгі қасиеттері CheckBox OptionButton Іске қосылуын орнату Value Style Picture Caption Visible Enabled Font BackColor ForeColor Value Style Picture Caption Visible Enabled Font BackColor ForeColor Түрін өзгерту (0-1) Сурет қою

True – ауыстырғыштың іске қосылуын орнату False – ауыстырғыштың ажыратылуы

0 – жалауша орнатылмаған күйі 1 – жалауша орнатылған күйі 2 – белгісіз күй

0 – кәдімгі түрі 1 – батырма секілді өзгереді

Пішінде(формада) орнатылған ауыстырғыштар мен жалаушалар арқылы мәтіннің (текстің) жазылу үлгілерін орнататын қосымша жасау

Form Font Times New Roman, 16 2. Option1 Caption Қара 3. Option2 Caption Қызыл 4. Option3 Caption Жасыл 5. Option3 Caption Көк 6. Check1 Caption Қалың 7. Check2 Caption Курсив 8. TextBox1 Text Аа Әә Бб Вв Гг

Private Sub Option1_Click() Text1.ForeColor = vbBlack End Sub Private Sub Option2_Click() Text1.ForeColor = vbRed Private Sub Option3_Click() Text1.ForeColor = vbGreen Private Sub Option4_Click() Text1.ForeColor = vbBlue

Private Sub Check1_Click() Text1.SetFocus End Sub Private Sub Check2_Click() Private Sub Text1_GotFocus() If Check1.Value = Checked Then Text1.FontBold = True _ Else Text1.FontBold = False If Check2.Value = Checked Then Text1.FontItalic = True _ Else Text1.FontItalic = False

Үйге тапсырма 96-97 беттер OptionButton Ауыстырып қосқыш, CheckBox Жалауша