- Selecting files
- 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)
Remark: 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 Selecting files fSelectDir is used to to select a directory. To select a file, use fSelect. Versions 23 and later New in version 23 Business / UI classification : UI Code
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 |
|
|
|
| |
| |
| |
| |
| |
| |
| | |
|