CheckBox i Option Button. Private Sub Command1_Click() Check1 = 1 If Check1 = 1 Then Text1.FontBold = True Else Text1.FontBold = False End If Check2 =

Slides:



Advertisements
Similar presentations
The Important Thing About By. The Important Thing About ******** The important thing about ***** is *****. It is true s/he can *****, *****, and *****.
Advertisements

Chapter 6 - VB 2005 by Schneider1 Do Loop Syntax Do While condition statement(s) Loop Condition is tested, If it is True, the loop is run. If it is False,
Decision Structures - If / Else If / Else. Decisions Often we need to make decisions based on information that we receive. Often we need to make decisions.
Warm Up Example 1 Check whether the ordered pair is a solution of 2x – 3y > -2 a.(0,0) 2(0)-3(0)> -2 0> -2 True b.(0,1) 2(0)-3(1)> -2 -3> -2 False.
The Basics.  Vender Menu  Vendor Maintenance - Change, Delete and add a Vendor  Inquiry Options  Invoice Menu  Add – How to add invoices for invoice.
Introduction to Computing Dr. Nadeem A Khan. Lecture 7.
True/False. False True Subject May Go Here True / False ? Type correct answer here. Type incorrect answer here.
VB Controls and Events Week 7: Picture Box, Image Box, Option, Check box, Mouse over, Frames, Shapes.
Customizing Menus and Toolbars. Manipulating Command Bars Customize: –Right-click any place on a command bar and cick Customize … Customize window: –Toolbars,
Determine whether each curve below is the graph of a function of x. Select all answers that are graphs of functions of x:
Promoting Code Reuse Often in programming, multiple procedures will perform the same operation IN OTHER WORDS – the same piece of code will do the same.
5.2 Solving Systems of Equations by the Substitution Method.
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.
Muffin Shop - if, calculations etc. (muffins, muffins2) Please use speaker notes for additional information!
IN THE NAME OF ALLAH UserForms on VBA Lab 06 Tahani Al_dweesh.
ENGR 112 Decision Structures.
By: Stag and Fish; Party Animals.  Radio buttons are a way of letting users choose only one option of a list.
Developing a solution A staged design process. Initial requirements Car Hire business Three types of car Small, medium, large Different rates – hire,
Equations Reducible to Quadratic
Arrays1 From time to time an object (a variable, a picture, a label or a command) does not serve as well as a set of objects of a similar kind addressed.
The PC GadgetMaster II Stepper Motor Control Developed by Frank Shapleigh Edited by Jim Tuff.
LOAN APPLICATION Income High Medium Low Employment References Employed Unemployed Good Bad Education High Low High Low Grant Investigate Further Investigate.
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)
Form Components and Elements
Pay Example (PFirst98) Please use speaker notes for additional information!
Word Processor Version.01 EME 4411 Week 5. The Scroll Bars.
Prime Numbers Damian Gordon. Prime Numbers So let’s say we want to express the following algorithm: – Read in a number and check if it’s a prime number.
The If Statement There are no switch statements in Python. You need to use just if statements. There are no switch statements in Python. You need to use.
Visual Basic Review LBS 126. VB programming Project Form 1Form 2Form 3 Text boxButton Picture box Objects Text box Button Objects.
Loop and repetition. Today Passing values to and back from Sub procedures Option Buttons Do While Loops For Loops Population Growth.
Check Boxes. 2 Check boxes  Image from:  HTML:  Each box gets it's own.
Conditions and More Web Form Fields. Conditions if (then) else Syntax if( ) Boolean expression { { } } instructions if expression is true (then) instructions.
Title Category #1 Category #2 Category #3Category #
Course ILT Using complex selection structures Unit objectives Include radio buttons and check boxes in an interface, create and call a user- defined Sub.
Computer Science Up Down Controls, Decisions and Random Numbers.
JavaScript, Third Edition 1 SELECTION LIST Demo. JavaScript, Third Edition 2 Description This web page will edit the slection to ensure an option was.
TUTORIAL 4 Visual Basic 6.0 Mr. Crone. Pseudocode Pseudocode is written language that is part-code part- English and helps a programmer to plan the layout.
CSCI 6962: Server-side Desig n and Programming ASP Server Controls.
Microsoft Access 2016 Simplify Data Entry with Forms
Standard and Expanded Form
Event Driven Programming
And the text with form..
The Check Box Control Consists of a small square and a caption
Enter your user name and password and click ‘Connect’
[0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]
البرمجة بلغة الفيجول بيسك ستوديو
المحاضرة السادسة.
Solution Solution Checking Solutions of Inequalities
IF Statements.
Visual Basic – Decision Statements
True or False: {image} is one-to-one function.
KUPOVINA ONLINE.
CheckBox i Option Button
Bellwork Solve by graphing y < x + 2 y > -1/2x + 5.
SECTION 2-4 : SOLVING EQUATIONS WITH THE VARIABLE ON BOTH SIDES
KUPOVINA ONLINE.
Active-X Calendar Control
OptionButton, CheckBox компоненттері
OptionButton, CheckBox компоненттері
Systems of Linear Equations: An Introduction
Unit 8 – Systems of Equations.
Variables and Equations
Chapter 3: Selection Structures: Making Decisions
SEQUENCE Start Initial situation Step 1 Step 2 Step 3 End
Standard Form: Multiplying powers of 10
If there is any case in which true premises lead to a false conclusion, the argument is invalid. Therefore this argument is INVALID.
Standard form: In standard form?
True or False True or False
If there is any case in which true premises lead to a false conclusion, the argument is invalid. Therefore this argument is INVALID.
Presentation transcript:

CheckBox i Option Button

Private Sub Command1_Click() Check1 = 1 If Check1 = 1 Then Text1.FontBold = True Else Text1.FontBold = False End If Check2 = 1 If Check2 = 1 Then Text1.FontItalic = True Else Text1.FontItalic = False End If Check3 = 1 If Check3 = 1 Then Text1.FontUnderline = True Else Text1.FontUnderline = False End If End Sub

Private Sub Command2_Click() Option1 = True If Option1 = True Then Text1.FontBold = True Else Text1.FontBold = False End If Option2 = True If Option2 = True Then Text1.FontItalic = True Else Text1.FontItalic = False End If Option3 = True If Option3 = True Then Text1.FontUnderline = True Else Text1.FontUnderline = False End If End Sub