- Modify
the existing Frame control Properties
- Frame2:
Name:
BackColor:
BorderStyle:
Caption:
Height:
Left:
TabIndex:
Top:
Width: |
Frame2
&H8000000D&
1 - Fixed
6495
5520
1
0
3975
|
|
- Add
the following controls from
the Toolbox - (inside
the Frame control
- Frame2):
One PictureBox control
- Picture2, one Label control
- Label1, one TabStrip control
- TabStrip1 and two Frame
controls - Ftrb(0) and Frtb(1).
- Add
the PictureBox -
Picture2, PictureBox
Properties:
A PictureBox
control can display a
graphic from a bitmap,
icon, or metafile, as
well as enhanced
metafile, JPEG, or GIF
files.
Name:
Align:
BackColor:
Height:
Left:
Tabindex:
ScaleMode:
Top:
Width: |
Picture2
0 - None
&H8000000F&
2895
0
16
1 - Twip
120
3975
|
|
Note :
This Picture2 includes
one Image
control - Image2.
- Add
the Image
-
Image2, Image Properties:
Use
the Image control
to display a graphic. An Image
control can display a
graphic from a bitmap,
icon, or metafile, as
well as enhanced
metafile, JPEG, or GIF
files.
Name:
BorderStyle:
Height:
Left:
Top:
Width: |
Image2
0 - None
2655
960
120
2055
|
|
Note :
The image2
displays the file Christus-th.gif
- (stored in the
folder
C:\Test\Test
VB0\ res).
- Add
the Label
- Label1, Label
Properties:
A Label
control is a graphical
control you can use to
display text that a user
can't change directly.
Name:
Alginment:
Caption:
Font:
ForceColor:
Height:
Left:
TabIndex:
Top:
Width: |
Label1
0 - None
Search ...
MS Sans Serif, Bold
Italic, Underline, 8
&H8000000D&
195
240
17
3120
1095
|
|
- Add
the TapStrip
-TapStrip1
Properties:
The
TabStrip
control is like the
dividers in a notebook or
the labels on a group of
file folders. By using a TabStrip
control, you can define
multiple pages for the
same area of a window or
dialog box in your
application.
Remarks:
The control consists
of one or more Tab
objects in a Tabs
collection. At both
design time and run time,
you can affect the Tab
object's appearance by
setting properties. You
can also add and remove
tabs using the Properties
Page of the TabStrip
control at design time,
or add and remove Tab
objects at run time using
methods.
The Style property
determines whether the TabStrip
control looks like push
buttons (Buttons) or
notebook tabs (Tabs). At
design time when you put
a TabStrip control
on a form, it has one
notebook tab. If the Style
property is set to tabTabs,
then there will be a
border around the TabStrip
control's internal area.
When the Style
property is set to tabButtons,
no border is displayed
around the internal area
of the control, however,
that area still exists.
To set the overall size
of the TabStrip
control, use its drag
handles and/or set the Top,
Left, Height,
and Width
properties. Based on the
control's overall size at
run time, Visual Basic
automatically determines
the size and position of
the internal area and
returns the Client-coordinate
properties – ClientLeft,
ClientTop, ClientHeight,
and ClientWidth.
The MultiRow
property determines
whether the control can
have more than one row of
tabs, the TabWidthStyle
property determines the
appearance of each row,
and, if TabWidthStyle
is set to tabFixed,
you can use the TabFixedHeight
and TabFixedWidth
properties to set the
same height and width for
all tabs in the TabStrip
control.
(Custom)
Name:
Height:
Left:
Style:
TabIndex:
Top:
Width: |
Use
To Call Property Page
TabStrip1
2895
45
0 - tabTabs
18
3480
3900
|
|
Note :
Select Custom
property, the Properties
Page dialog box
appears, add or remove
the tab
pages and...
The TabStrip control
- TabStrip1
consists
of two tabs (tab
pages):
- The 1st
tab has a label
- By Word and
consists of one Frame
control - Frtb(0).
- The 2nd tab
has a label - By
address and
consists of one
Frame
control - Frtb(1).
- Add
the Frame
-
Frtb(0), Frame
Properties:
A Frame
control provides an
identifiable grouping for
controls. You can also
use a Frame to
subdivide a form
functionally.
Name:
BorderStyle:
Caption:
Height:
Index:
Left:
TabIndex:
Top:
Width: |
Frtb
1 - Fixed
Frtb(0)
495
0
1440
19
3000
1095
|
|
- Add
the Frame
-
Frtb(1), Frame
Properties:
A Frame
control provides an
identifiable grouping for
controls. You can also
use a Frame to
subdivide a form
functionally.
Name:
BorderStyle:
Caption:
Height:
Index:
Left:
TabIndex:
Top:
Width: |
Frtb
1 - Fixed
Frtb(1)
495
1
2760
20
3000
1095
|
|
|
|