PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
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"
Started by rob, Sep., 18 2014 8:42 PM - 4 replies
Connect yourself…
rob
#1
Registered member
105 messages
Posted on September, 18 2014 - 8:42 PM
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?
Report
0
0
rob
#2
Registered member
105 messages
Posted on September, 18 2014 - 9:04 PM
Ok,
So I've tried using the Special Case method for WinDev Mobile 18, however that still doesn't wait for a user response.
Report
0
0
rob
#3
Registered member
105 messages
Posted on September, 18 2014 - 9:18 PM
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
)
Report
0
0
rob
#4
Registered member
105 messages
Posted on September, 18 2014 - 9:57 PM
Ok, for anyone else who runs into this, the function you want to use is OpenPopup()
Report
0
0
Facu
#5
Posted on December, 03 2019 - 1:25 PM
Thanks you Rob! You are amazing!
Report
0
0
→ Go back to WINDEV Mobile 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