FolderItemDialog.Top

From Xojo Documentation

Revision as of 19:46, 15 January 2021 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

Supported for all project types and targets.

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

Example

This code 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