- Selecting files
- Limitations
- Operating mode in Java
- Former and new directory picker
fSelectDir (Function) In french: fRepSélecteur Opens a directory picker. The directory picker is as follows (the appearance of picker may change according to the system used) Note: You have the ability to select a local directory or a directory found on a network disk. Versions 16 and later New in version 16
// Select a directory Directory = fSelectDir("C:\Directories", "Select a directory", ... "Select the directory that will be copied")
Syntax
<Result> = fSelectDir(<Directory Selected by Default> , <Picker Title> [, <Picker Comments> [, <Root Directory> [, <Options>]]])
Remarks fSelectDir is used to to select a directory. To select a file, use fSelect. This function can be used only if the version 4.00 of SHELL32.DLL is available on the system. If this library is not found, a non-fatal WLanguage error will be generated by fSelectDir. Versions 23 and later New in version 23
This page is also available for…
|
|
|
| |
| | https://youtu.be/zppJSG0zV6o
http://windevdesenvolvimento.blogspot.com/2018/04/dicas-1739-publica-windev-acbr-69-acbr.html
https://groups.google.com/d/forum/amarildowindev
// EXEMPLO
sDirectory is string
sDirectory = fSelectDir("", "")
EDT_DIRETORIO=sDirectory+"\"
// C:\AMARILDO\
|
|
|
|
| |
| |
| |
|
| Exemplo de Mostrar Arquivos de Um Diretorio |
|
| //lista arquivos TableDeleteAll(TABLE_lista_arquivos) s_arquivos_todos is string=fListFile(SAI_DIRETORIO+"*.*") s_arquivo_individual is string="" FOR EACH STRING s_arquivo_individual OF s_arquivos_todos SEPARATED BY CR s_nome_arquivo is string=fExtractPath(s_arquivo_individual,fFileName+fExtension) s_tamanho_arquivo is string=fSize(SAI_DIRETORIO+s_nome_arquivo) dS_data_arquivo is Date=fDate(SAI_DIRETORIO+s_nome_arquivo) hS_hora_arquivo is Time=fTime(SAI_DIRETORIO+s_nome_arquivo) TableAddLine(TABLE_lista_arquivos,s_nome_arquivo,s_tamanho_arquivo,dS_data_arquivo,hS_hora_arquivo) END TableSort(TABLE_lista_arquivos,"-TABLE_lista_arquivos.COL_Data","-TABLE_lista_arquivos.COL_Hora")
//pesquisa diretorio sRépertoire_ is string sRépertoire_ = fSelectDir("", "") SAI_DIRETORIO=sRépertoire_ //Blog com video e Exemplo http://windevdesenvolvimento.blogspot.com.br/2016/02/curso-windev-arquivos-001-listar.html |
|
|
|
| |
| |
| |
| |
| |
| |
| | |
|