I am trying to populate a popupmenu with the contents of a folder (which will be files only, no subfolders).
I also need the user to be able to double click on the items in the list, and have them open in the default application.
I have been away from Xojo for so long, I have forgotten almost everything
This is for a Windows 10 app.
Does anyone know of any examples of this, which I can then study in order to re-learn from.
All I have so far is:
[code]Dim f as folderitem
f = GetFolderItem(“C:\Users\Richard\Desktop\Miscellaneous”)
For i As Integer = 0 To f.Count -1
And even this doesn’t populate the popupmenu.
Struggling big time - cant believe I have forgotten everything
Thank you all in advance.