RunSelectNewFSObjectTypeDialog (open)
Run the 'select filetype/foldertype/template dialog'
Syntax
LOADLIB "mod::publisher/lib/dialogs.whlib";
RECORD FUNCTION RunSelectNewFSObjectTypeDialog(OBJECT parentscreen, INTEGER parentfolder, RECORD options)Parameters
OBJECT parentscreenScreen invoking us
INTEGER parentfolderFolder which will receive the new object
RECORD optionsOptions
BOOLEAN isfolderIf true, create a folder
INTEGER ARRAY limittypesIf set, allow only templates and types with one of these IDs to be added
Return value
RECORDA record describing the creation request, or a DEFAULT RECORD if the dialog was cancelled
INTEGER createtypeFS type ID to create
INTEGER templateFS object ID to duplicate ID of the newly generated fsobject, 0 if creation was cancelled
Description
This function invokes the standard select type for new file/folder dialog, but doesn't run the actual creation steps