Sha256: d39db51c54fce21ee3c5770715d088e5ed9ce405a9ddc8ef3d20d65e47933262

Contents?: true

Size: 412 Bytes

Versions: 42

Compression:

Stored size: 412 Bytes

Contents

Dim f As FolderItem
f = GetOpenFolderItem(FileTypes1.jpeg) // defined in the File Type Set editor
rem - we should check for nil!
If not f.Exists Then
  Beep 'Just for fun
  MsgBox("The file " + f.NativePath + "doesn't ""exist.""")
Else // document exists
  ImageWell1.image=Picture.Open(f)
End If
if f isa folderitem then
  msgbox(f.name)
end if
Exception err As NilObjectException
  MsgBox("Invalid pathname!")

Version data entries

42 entries across 42 versions & 2 rubygems

Version Path
rouge-3.7.0 lib/rouge/demos/xojo
rouge-3.6.0 lib/rouge/demos/xojo