Source language: Translate to:

wish new action fmPrev+fmNext

Questions about our File Management and Internet FTP plug-in

wish new action fmPrev+fmNext

Postby HPW » Thu Jun 14, 2012 9:49 am

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
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Neosoft Support » Thu Jun 14, 2012 10:21 am

I'll add that to the list of things to consider for the next update.
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA

Postby HPW » Fri Jun 15, 2012 8:21 am

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
User avatar
HPW
 
Posts: 2510
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany

Postby Neosoft Support » Fri Jun 15, 2012 10:39 am

Could you use fmFileListToVar to populate a list box and use that for navigation instead of FM/FTP's file list?
NeoSoft Support
Neosoft Support
NeoSoft Team
 
Posts: 5593
Joined: Thu Mar 31, 2005 10:48 pm
Location: Oregon, USA


Return to NeoBookFM/FTP

Who is online

Users browsing this forum: No registered users and 1 guest