19.12.2012 Views

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

Computer Programming Concepts and Visual Basic David I. Schneider

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

432 <strong>Computer</strong> <strong>Programming</strong> <strong>Concepts</strong> <strong>and</strong> <strong>Visual</strong> <strong>Basic</strong><br />

file’s DOS file h<strong>and</strong>le, a number that uniquely identifies the file <strong>and</strong> is used in assembly language<br />

programming.<br />

FILECOPY The statement FileCopy source, destination creates the file specified by destination<br />

by making a copy of the file specified by source. Both source <strong>and</strong> destination may<br />

specify drive <strong>and</strong> path information. If the file specified by destination already exists, it will<br />

be overwritten without a warning being issued.<br />

FILEDATETIME The value of the function FileDateTime(filename) is a string giving the<br />

date <strong>and</strong> time that the file specified by the filename was created or last modified.<br />

FILELEN The value of the function FileLen(filename) is the length in characters (bytes) of<br />

the file specified by filename.<br />

FILENAME The FileName property of a file list box is the contents of the currently selected<br />

item.<br />

FILLCOLOR When the FillStyle property of a form or picture box is set to a value other<br />

than the default of 1, the property FillColor determines what color is used to paint the interior<br />

of ellipses <strong>and</strong> rectangles drawn with the Circle <strong>and</strong> Line graphics methods. The Fill-<br />

Color property may be assigned any valid RGB color number. The default value for FillColor<br />

is black (0). [color]<br />

FILLSTYLE The property FillStyle determines what pattern is used to paint the interior of<br />

ellipses <strong>and</strong> rectangles drawn on forms or picture boxes with the Circle <strong>and</strong> Line methods.<br />

The default value for FillStyle is transparent (1), which means that interiors are not painted.<br />

Other values available for FillStyle are solid (0), horizontal lines (2), vertical lines (3), diagonals<br />

running upward to the right (4), diagonals running downward to the right (5), vertical<br />

<strong>and</strong> horizontal lines [crosshatched] (6), <strong>and</strong> diagonal crosshatched (7). Note: Using BF in a<br />

Line method has the same effect as setting the FillStyle to 0 <strong>and</strong> the FillColor to the color of<br />

the bordering line.<br />

FINDFIRST, FINDLAST, FINDNEXT, FINDPREVIOUS A statement of the form<br />

Data1.RecordSet.FindWhat criteria selects a new current record in the table of the database associated<br />

with the data control in the expected way, based on the specifications of the string criteria.<br />

FIX The value of the function Fix(x) is the whole number obtained by discarding the decimal<br />

part of the number x.<br />

FIXEDALIGNMENT The statement MSFlexGrid1.FixedAlignment(m) = n, where n = 0<br />

(left-align (default)), 1 (right-align), or 2 (centered), aligns the text in the fixed cells of the<br />

mth column of the grid.<br />

FIXEDCOLS <strong>and</strong> FIXEDROWS The FixedCols <strong>and</strong> FixedRows properties of a grid specify<br />

the number of fixed rows <strong>and</strong> fixed columns of a grid. Fixed rows <strong>and</strong> columns are used for<br />

headings <strong>and</strong> never disappear due to scrolling.<br />

FLAGSThe Flags property of a common dialog box sets a variety of options.<br />

FONT.BOLD or FONTBOLD These properties determine whether the characters Printed on<br />

a form, picture box, or printer, or assigned to a text box, comm<strong>and</strong> button, or label appear in<br />

bold or normal type. If the property is set to True (the default), then for a form, picture box,<br />

or printer, subsequent Printed characters appear bold. For a text box, comm<strong>and</strong> button, or<br />

label, the text or caption is immediately changed to bold. If the property is set to False, subsequent<br />

characters are Printed in normal type <strong>and</strong> characters assigned to the text or caption<br />

property change immediately to normal type.<br />

FONTCOUNT The value of the property Screen.FontCount is the number of fonts available<br />

for use on the screen. Similarly, the value of the property Printer. FontCount is the<br />

number of fonts available on the printer. The FontCount property is set according to your<br />

Windows environment <strong>and</strong> is generally used to determine the limit on the index for the Fonts<br />

property.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!