FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV 2024
→
[WD18] Open then Close a message window
[WD18] Open then Close a message window
Débuté par John Marrone Jr, 21 oct. 2014 17:24 - 5 réponses
Connectez-vous…
John Marrone Jr
#1
Posté le 21 octobre 2014 - 17:24
Hi
Is there a message window that I can open then close the window. I don't want to have the user click on a button to close the window or a timer involved. I want to tell the user what I am doing then when the process is done close the window with code. Info, Error doesn't fit the bill. I have looked through the help file but I guess I used the wrong search wording but I can not fine anything but I know WD has to have that. Thanks for your time and any help I may get.
Signaler
0
0
Paulo Oliveira
#2
Posté le 21 octobre 2014 - 18:22
Just create one windows with a progress bar control, static control or wathever you need and use openchild to put it on top of your main windows.
To change the content of the child windows controls use window_name.control_name
Signaler
0
0
Fabrice Harari
#3
Posté le 21 octobre 2014 - 19:49
Hi John,
it looks like you are looking for the TOASTxxx functions
best regards
Signaler
0
0
Rudolf van Roosmalen
#4
Posté le 21 octobre 2014 - 20:22
Hi John,
For that I use 'toastdisplay', with a blue background when I just want to inform a user, a red background when I want to inform him he cannot do something.
Nice of 'toastdisplay' that a user can work although the 'toastdisplay' is shown.
ToastDeleteAll
(
)
ToastDisplay
(
CR
+
CR
+
s
ToastTekst
+
CR
+
CR
,
toastShort
,
vaMiddle
,
haCenter
,
DarkBlue
)
Tip: use 'toastdeleteall' first to prevent a certain action will cause a row of 'toasts'.
Alternative: you can use a modal form with a timed close-button. However, that stops the user or forces him to click that close-button.
Hope this helps,
With kind regards
Rudolf van Roosmalen
Signaler
0
0
John Marrone Jr
#5
Posté le 26 octobre 2014 - 15:27
Thanks Paulo and Fabrice
Went the Toast way. Sorry I was so late getting back to thank you guys, I got side tracked. But thanks again. Toast was just what I was looking for.
Signaler
0
0
steve erts
#6
Posté le 26 octobre 2014 - 20:26
Quote
Fabrice Harari
Hi John,
it looks like you are looking for the TOASTxxx functions
best regards
Thanks for this, I wasn't aware of these. Works very well.
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