Visual Basic  Glossary

 
Left The function that extracts the left portion of a phrase.  The format is Left("Phrase",n), where n is the starting position from the left of the phrase where the portion of the phrase is going to be extracted.  Example:  Left("Visual Basic",4)=Visu
Len The function that returns an integer which is the length of a phrase or a sentence.     Example: Len(Visual Basic)=12
Lcase The function that converts all the characters in a phrase to small letters.   Example : Lcase("VISUAL BASIC")=visual basic
Line

The method draws a straight line from the point(x1,y1) to the point(x2,y2).

The format is  Line(x1,y1)-(x2,y2),color

Example:    Line(0,0)-Line(1000,2000),VbRed  will draw a red straight line joining the point (0,0) and (1000,2000)

 

It can also be used to draw a rectangle using the following format

The format is  Line(x1,y1)-(x2,y2),color,B

LoadPicture

The function that load a picture into a certain control, normally a picture box or an image box.

The format is

Image1.Picture=LoadPicture("C:\My Document\Images\flower.gif")

Load

The method that load a child form into a MDI form.

The format is:

                    call Load(form1)

Loop The key word that forms part of the Do....Loop statement

 

 

 

  [Back to VB Glossary]