toolbar, statusbar, coolbar in vb

28
TOOLBARS,STATUSBAR,COOLBARS”

Upload: amandeep-kaur

Post on 25-May-2015

4.873 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Toolbar, statusbar, coolbar in vb

“TOOLBARS,STATUSBAR,COOLBARS”

Page 2: Toolbar, statusbar, coolbar in vb

“TOOLBAR”

1.Adding a ToolBar To a Form

STEPS:-Select the Project/Components menu item.Click the Control Tabs in the components

dialog boxSelect Microsoft windows common controls

item and click on OK to close the dialog Box.

This adds the Toolbar Control tool to the visual Basic

Page 3: Toolbar, statusbar, coolbar in vb
Page 4: Toolbar, statusbar, coolbar in vb
Page 5: Toolbar, statusbar, coolbar in vb
Page 6: Toolbar, statusbar, coolbar in vb

Adding Buttons To a Toolbar

Steps:-

Right Click the control and click properties

item in the menu that appears.

When the Toolbar’s property pages open,click

the Buttons Tab.

Page 7: Toolbar, statusbar, coolbar in vb
Page 8: Toolbar, statusbar, coolbar in vb

Handling Toolbar Button Clicks

How to make these buttons active:

Do it with the Toolbar control’s ButtonClick event.

The button the user clicked is passed in the event

handler procedure.

We can determine which button was clicked by

checking its index properties. With the help of

message box.

Page 9: Toolbar, statusbar, coolbar in vb
Page 10: Toolbar, statusbar, coolbar in vb
Page 11: Toolbar, statusbar, coolbar in vb

Adding Separators to a Toolbar

In Toolbars,separators appear as blank

spaces,setting group of button aparts.

STEPS:-

Insert a new button into a toolbar and set its

STYLE proerty to tbrSeparator.

Now,add other buttons and click OK to close the

property page

Page 12: Toolbar, statusbar, coolbar in vb
Page 13: Toolbar, statusbar, coolbar in vb
Page 14: Toolbar, statusbar, coolbar in vb

Adding Images to toolbar

Steps:

Add image list to a program now.

Right click the image list control

Select the poperties menu and click the images tab.

Click the insert Picture button to insert the first

image and more and click OK.

Page 15: Toolbar, statusbar, coolbar in vb

Status Bar

STEPS:-Select the Project/Components menu item.Click the Control Tabs in the components

dialog boxSelect Microsoft windows common controls

item and click on OK to close the dialog Box.

This adds the status tool to the visual Basic

Page 16: Toolbar, statusbar, coolbar in vb
Page 17: Toolbar, statusbar, coolbar in vb

ADDING PANELS

STEPS:-

Right Click the status bar and click properties item in

the menu that appears.

Click the panels tab in the property pages

Click the insert panel button as many times you want

panels in your status bar

Close the property pages by clicking on OK.

Page 18: Toolbar, statusbar, coolbar in vb
Page 19: Toolbar, statusbar, coolbar in vb
Page 20: Toolbar, statusbar, coolbar in vb

Display Text in Status Bar

Page 21: Toolbar, statusbar, coolbar in vb

DISPLAY DATE,TIME IN A STATUS BAR

Page 22: Toolbar, statusbar, coolbar in vb
Page 23: Toolbar, statusbar, coolbar in vb
Page 24: Toolbar, statusbar, coolbar in vb

COOLBAR

1.Adding a CoolBar To a Form

STEPS:-Select the Project/Components menu item.Click the Cool Tabs in the components dialog

boxSelect Microsoft windows common controls 3

item and click on OK to close the dialog Box.

This adds the Toolbar Control tool to the visual Basic

Page 25: Toolbar, statusbar, coolbar in vb
Page 26: Toolbar, statusbar, coolbar in vb
Page 27: Toolbar, statusbar, coolbar in vb

ADDING CONTROL TO COOLBAR BANDS

Page 28: Toolbar, statusbar, coolbar in vb