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.

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