wish new action fmPrev+fmNext

Questions about our File Management and Internet FTP plug-in
Locked
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

wish new action fmPrev+fmNext

Post by HPW »

Hello,

I am using the plugin to build a custom file open dialog with a thumbnail browse-area.
Below the preview area I want to have buttons to navigate to prev and next file.
I know its possible to script it, but it would be comfortable to have the actions fmPrev and fmNext.

Regards
Hans-Peter
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Post by Neosoft Support »

I'll add that to the list of things to consider for the next update.
NeoSoft Support
User avatar
HPW
Posts: 2571
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany
Contact:

Post by HPW »

As long it is not done, I use this for a Next-button:

Code: Select all

fmFileListToVar "FileList" "FullPath=Yes;IncludeFiles=Yes;IncludeFolders=No;SelectedOnly=No" "[OpenFileList]"
StrReplace "[OpenFileList]" ";" "[#13][#10]" "[OpenFileList]" ""
hpwLineCount "[OpenFileList]" "[OpenFileCount]"
hpwLineNumber "[OpenFileList]" "[SelectedFile]" "False" "[SelectedPos]"
SetVar "[NewPos]" "[SelectedPos]+1"
hpwLine "[OpenFileList]" "[NewPos]" "[FileItem]"
ExtractFileName "[FileItem]" "[FileItem]"
fmSelectSome "FileList" "[FileItem]" "IncludeFiles=Yes;IncludeFolders=No"
Hans-Peter
Neosoft Support
NeoSoft Team
Posts: 5628
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA
Contact:

Post by Neosoft Support »

Could you use fmFileListToVar to populate a list box and use that for navigation instead of FM/FTP's file list?
NeoSoft Support
Locked