FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WB 19]Multiple FileDisplay from one button
[WB 19]Multiple FileDisplay from one button
Débuté par Ericus, 23 avr. 2018 11:26 - Aucune réponse
Connectez-vous…
Ericus
#1
Posté le 23 avril 2018 - 11:26
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
Signaler
0
0
→ Revenir à WINDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (précédentes versions)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Type de recherche
Uniquement les sujets
Tous les messages
Période de recherche
Date indifférente
Moins d'une heure
Moins de 24 heures
Moins d'une semaine
Moins d'un mois
Moins d'un an
Annuler
Aperçu de votre message
Ajouter une image
Importer une image depuis une URL
Envoyer une image depuis un fichier de votre disque
Déposez ici un fichier ou cliquez sur "Parcourir..."
ou
Annuler
0%
WLangage
SQL
XML, HTML
JAVA, Javascript
Texte