FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
WinDev Mobile 18 A value should have been returnd by 'OpenChild"
WinDev Mobile 18 A value should have been returnd by 'OpenChild"
Débuté par rob, 18 sep. 2014 20:42 - 4 réponses
Connectez-vous…
rob
#1
Membre enregistré
105 messages
Posté le 18 septembre 2014 - 20:42
Heya everyone.
Quick question here.
In my WinDev Mobile app for Windows CE, I'm trying to call a window that returns a value as a parameter.
s
Result
=
OpenChild
(
WIN_
RadioQuestion
,
arr
Questions
[x]
:
Question
)
And in my child window I have the following code on a button.
s
Value
=
"Y"
And then that button is set to the action "Code, then Close the window and return a value" With that value being set to sValue.
What's happening is the program isn't waiting for the window to be responded to.
It immediately errors out saying that no value was returned instead of waiting for the user to press one of the 3 buttons.
What am I doing wrong?
Signaler
0
0
rob
#2
Membre enregistré
105 messages
Posté le 18 septembre 2014 - 21:04
Ok,
So I've tried using the Special Case method for WinDev Mobile 18, however that still doesn't wait for a user response.
Signaler
0
0
rob
#3
Membre enregistré
105 messages
Posté le 18 septembre 2014 - 21:18
Also I've tried using Events to pause the execution of the code while the child window is open. No luck there either.
EventCreate
(
"ChildWait"
,
eventManual
,
eventClose
)
EventWait
(
"ChildWait"
,
10000
)
Signaler
0
0
rob
#4
Membre enregistré
105 messages
Posté le 18 septembre 2014 - 21:57
Ok, for anyone else who runs into this, the function you want to use is OpenPopup()
Signaler
0
0
Facu
#5
Posté le 03 décembre 2019 - 13:25
Thanks you Rob! You are amazing!
Signaler
0
0
→ Revenir à WINDEV Mobile 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