9.0

211
Oct$ Function
Syntax
Oct[$](Num)
Group
String
Description
Return a octal string.
Parameter Description
Num Return an octal encoded string for this numeric value.
See Also: Hex$( ), Str$( ), Val( ).
Example
Sub Main
Debug
.Print Oct$(15) '17
End
Sub
OKButton Dialog Item Definition
Syntax
OKButton X, Y, DX, DY[, .Field]
Group
User Dialog
Description
Define an OK button item. Pressing the OK button updates the dlgvar field values and closes the dialog. (Dialog( )
function call returns -1.)
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 This identifier is the name of the field. The dialogfunc receives this name as string. I
f
this is omitted then the field name is "OK".
See Also: Begin Dialog, Dim As UserDialog.
Example
Sub Main