PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 25
→
WB - Como exibir um documento ao clicar em um WebDev elemento árvore?
WB - Como exibir um documento ao clicar em um WebDev elemento árvore?
Started by BOLLER ADRIANO, Jun., 28 2016 6:20 AM - No answer
Connect yourself…
BOLLER ADRIANO
#1
Registered member
3,659 messages
Popularité : +175 (223 votes)
Posted on June, 28 2016 - 6:20 AM
Como exibir um documento ao clicar em um WebDev elemento árvore?
Comment afficher un document lors du clic sur un element d`un arbre en WebDev ?
Voici un exemple de code ouvrant un fichier PDF lors du clic sur le lien "Feuille 1"
Code serveur d`initialisation du champ Arbre :
ArbreAjoute
(
ARBRE_
Arbre1
,
"Racine"
,
aDfaut
,
aDfaut
,
""
,
aTriAlpha
)
ArbreAjoute
(
ARBRE_
Arbre1
,
"Racine"
+
TAB
+
"Feuille 1"
,
aDfaut
,
aDfaut
,
""
,
aTriAlpha
)
Code navigateur de clic du champ Arbre
:
s
Element est une
chaîne
=
ArbreSelect
(
ARBRE_
Arbre1
)
s
Element
=
ExtraitChane
(
s
Element
,
1
,
TAB
,
DepuisFin
)
SI
s
Element
=
"Feuille 1"
ALORS
FichierAffiche
(
RépertoireWeb
(
) +
"\MonFichierPDF.PDF"
)
FIN
--
Adriano José Boller
______________________________________________
Consultor e Representante Oficial da
PcSoft no Brasil
+55 (41) 9949 1800
adrianoboller@gmail.com
skype: adrianoboller
http://wxinformatica.com.br/
Report
0
0
→ Go back to WINDEV 25
WINDEV 25
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