FolderItemDialog.Top

From Xojo Documentation

Property (As Integer )
aFolderItemDialog.Top = newIntegerValue
or
IntegerValue = aFolderItemDialog.Top

Supported for all project types and targets.

The distance (in pixels) of the top of the dialog from the top of the main screen.

Example

This example illustrates all the labelling properties of a FolderItemDialog.

Var dlg As OpenDialog
Var f As FolderItem
dlg = New OpenDialog
dlg.Left = 50
dlg.Top = 50
f = dlg.ShowModal
If f <> Nil Then
MessageBox("You selected: " + f.NativePath)
Else
// User Cancelled
End If