PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 2024
→
[WB 19]Multiple FileDisplay from one button
[WB 19]Multiple FileDisplay from one button
Started by Ericus, Apr., 23 2018 11:26 AM - No answer
Connect yourself…
Ericus
#1
Posted on April, 23 2018 - 11:26 AM
Good day
I have a button on a page where I want the user to download TeamviewerQS as well as display another PDF file explaining to the user the conditions of use.
I try this:
File is string
File = "TeamviewerQS.exe"
FileDisplay(fWebDir+["\"]+File,"application/unknown",File)
File = "Plum Accounging TeamViewer Use.pdf"
FileDisplay(fWebDir + ["\"] +File, "application/pdf")
The EXE is downloaded but the PDF file is not displayed. The new window displaying the PDF is opened quickly and closed automatically.
I think it is because the 'focus' is probably moved form the page being displayed to the file being downloaded. I don't want to use PAGE_Refresh in between the 2 downloads because the user might be busy capturing data in the page and that data will be lost, or will it?
Thanks in advance.
Ericus Steyn
Report
0
0
→ Go back to WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text