cGetFile32 initial file

cGetFile32 initial file

Postby Silvio.Falconi » Thu Dec 03, 2020 11:08 am

I wish show the name of the file when the user select a folder to save a file

//cGetFile( <cFileMask>, <cTitle>, [<nDefaultMask>], [<cInitialDirectory>], [<lSave>], [<lLongNames>], [<nFlags>], [<cInitialFile>] ) –> cFileName

I tried with

cNamePdf := oBrowse:aArrayData[ oBrowse:narrayat][3]
cPdfFile := cGetFile32( "Fattura Pdf | *.Pdf |", "Salva in" ,0, cDirBackUp,.T.,.t.,,cNamePdf)

but not run
how I can make to show the cNamepdf on dialog cGetFile32 ?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7052
Joined: Thu Oct 18, 2012 7:17 pm

Re: cGetFile32 initial file

Postby PAUL SIMM » Mon Nov 28, 2022 1:16 pm

I HAVE THE SAME PROBLEM SINCE UPDATING TO FWH 21.02 Revised

DOS'NT SHOW THE FLE NAME IN THE NAME BOX.
Regards/Saludos
Paul

paul@pes-systems.net
User avatar
PAUL SIMM
 
Posts: 83
Joined: Fri Oct 07, 2005 7:59 am
Location: Madrid, Spain

Re: cGetFile32 initial file

Postby PAUL SIMM » Mon Nov 28, 2022 1:23 pm

ARREGLADO FALTABA lSAved:=.T.

Function cGetFile32( cFileMask, cTitle, nDefaultMask, cInitDir, lSave, nFlags, cIniFile )

local cSection, cFile
local nRet

DEFAULT lSave := .f.

CursorWait()
// On cGetFile() that parameter is a boolean for long filenames

if nFlags != Nil .and. ValType( nFlags ) != "N"
nFlags := Nil
endif

if ! lSave
cSection := "GetOpenFileName"
else
cSection := "GetSaveFileName"
endif
Regards/Saludos
Paul

paul@pes-systems.net
User avatar
PAUL SIMM
 
Posts: 83
Joined: Fri Oct 07, 2005 7:59 am
Location: Madrid, Spain

Re: cGetFile32 initial file

Postby karinha » Mon Nov 28, 2022 2:02 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7808
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 51 guests