From Xojo Documentation

Revision as of 22:52, 29 August 2019 by Gperlman (talk | contribs)

Property (As Integer )
aFolderItemDialog.Top = newIntegerValue
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.


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)
// User Cancelled
End If