There is a menu item that give the possibility to open a folder
- Code: Select all Expand view
MENUITEM "Open Folder " + cMyFolder ACTION SHELLEXECUTE( 0, 0, cMyFolder , 0, 0, 1 )
I give also the possibility to rename the name of the Folder cMyFolder into cMyFolderNew in some other patrts of the program
- Code: Select all Expand view
frename( cMyFolder , cMyFolderNew )
Is not possible to rename a folder if the folder is open
before changing the name I always warn to close the folder
but in 90% of cases the folder is closed, so I would first
test if it is open and only in this case to alert.
How can I test that the folder is open?
if it were a file I could open it in exclusive mode
any hints
Marco