9.0
117
ChDrive Instruction
Syntax
ChDrive Drive$
Group
File
Description
Change the current drive to Drive$.
Parameter Description
Drive$ This string value is the drive letter.
See Also: ChDir, CurDir$( ).
Example
Sub Main
ChDrive "B"
Debug
.Print CurDir$() '"B:\"
End
Sub
CheckBox Dialog Item Definition
Syntax
CheckBox X, Y, DX, DY, Title$, .Field[, Options]
Group
User Dialog
Description
Define a checkbox item.
Parameter Description
X This number value is the distance from the left ed
g
e of the dialo
g
box. It is measured
in 1/8ths of the average character width for the dialog's font.
Y This number value is the distance from the to
p
ed
g
e of the dialo
g
box. It is measured
in 1/12ths of the character height for the dialog's font.
DX This number value is the width. It is measured in 1/8ths of the average character
width for the dialog's font.
DY This number value is the hei
g
ht. It is measured in 1/12ths of the character hei
g
ht fo
r
the dialog's font.
Field The value of the check box is accessed via this field. Unchecked is 0, checked is 1 and
grayed is 2.
Options This numeric value controls the t
yp
e of check box. Choose one value from followin
g
table. (If this numeric value omitted then zero is used.)
Option Description
0 Check box is either checked or unchecked.










