A tool-tip is a small box that is displayed at the mouse location when overing above the control .The tool-tip is set for a brief period of time, it provides a help prompt to the user.A tooltip is the first line of help for a confused user.An example of its use would be on an invalid entry into a form and when the user runs their mouse over control you would use a tool-tip to tell them why we use this control or about the control.
1. Start Visual Basic and pick “Standard Exe” from the of new projects. You’ll land in the screen we saw below.
2. Add the Coomand1 button,Checkbox1,Textbox1 and Label1 on the Form1 container.
3. Double click on Form1 container.The code window is open.Write code here.
4. When you write the code and type command1 and type the dot(Command1.) a popup menu is open select the tooltip option from the popup menu as shown in figure:
5. Press <f5> key to run the program and when you point out the cursur on the button to see what happens.
6. A tooltip is shown :
TreeView Control in Visual Basic 6.0
The TreeView control display a hirearchical display node object.Each node consist of label ,optional bitmap.You ...read more
DriveListBox,DirListBox and FileListBox in Visual Basic 6.0
Three of the controls on the ToolBox let you access the computer's file system. They ...read more
Pointer Control in Visual Basic 6.0
Pointer control is used to resize and position a control. When you're drawing controls on ...read more
OLE control in Visual Basic 6.0
Insertable Objects (like the Excel Worksheet object; with a list of the employees, or a ...read more
Frame,Image and Picture Control in Visual Basic 6.0
A frame is an object that provide a visual an functional container for controls.it is ...read more
Picture Box in Visual Basic 6.0
PictureBox control is the most powerful and complex items in the Visual Basic .The picture ...read more