Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

Snwkiwne

Rating
-
Sold
-
Pages
6
Grade
A+
Uploaded on
08-06-2024
Written in
2023/2024

Visual Basic (VB) is an event-driven programming language and environment from Microsoft that provides a graphical user interface (GUI) which allows programmers to modify code by simply dragging and dropping objects and defining their behavior and appearance.

Show more Read less
Institution
Course

Content preview

MANUAL TITLE
DOCUMENT NO. : CAG 07H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 41 OF 70
UNIT III
VB FORM BASICS & TOOLBOX Edition : 1
CONTROLS

FORMS
In Visual Basic, form is the basic of GUI. Form is the container for all the controls that make up the
user interface. When a Visual Basic application is executing, each window it displays on the desktop is
a form.




Figure: VB Form & its elements
Every Visual Basic control consists of
three important elements
 Properties which describe the
object
 Methods cause an object to do something and
 Events are what happens when an object does something.
Properties
The properties describe the appearance of the GUI component. A property is a value or characteristic
held by a Visual Basic object. Properties can be set at design time by using the Properties window or at
run time by using statements in the program code.
Object.Property = value
Where
 Object is the name of the object you're customizing.
 Property is the characteristic you want to change.
 Value is the new property setting.
For example, a property called Text used to modify the title that appears on the window or any control.
Form1.Text = “Sample”
You can set any of the form properties using Properties Window. Most of the properties can be set or
read during application execution.
/tmp/unoconv_2786007599.doc




PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : Asst. Prof. – B.C.A DESIGNATION : Asst. Prof – M.Sc(CS)
DATE : 21/07/2020 DATE : 23/07/2020

, MANUAL TITLE
DOCUMENT NO. : CAG 07H
SARADHA COURSE GUIDE – PROGRAMMING WITH
REV. NO.: R0 DATE: 23/07/2020
GANGADHARAN VISUAL BASIC
COPY :
COLLEGE
DOCUMENT TITLE PAGE 42 OF 70
UNIT III
VB FORM BASICS & TOOLBOX Edition : 1
CONTROLS




Figure: Property Window

Common Properties:
Name It is used to define the name of the control.
Font The font of text to be displayed on the control
Enabled It uses the True or False value to enable mouse or keyboard events.
Text To display title of the object
TextAlign The alignment of the text(left, center, right, bottom, middle, top)
Visible To make visibility True or false during the runtime
/tmp/unoconv_2786007599.doc




Methods



PREPARED/REVISED BY : F. Jeno Sandana Brina Rouvier REVIEWED & APPROVED BY : D. Saraswathi
DESIGNATION : Asst. Prof. – B.C.A DESIGNATION : Asst. Prof – M.Sc(CS)
DATE : 21/07/2020 DATE : 23/07/2020

Written for

Institution
Course

Document information

Uploaded on
June 8, 2024
Number of pages
6
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$20.99
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
sachin8

Get to know the seller

Seller avatar
sachin8 Pondicherry University
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
2 year
Number of followers
0
Documents
5
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions