PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
Confused about Internal Window
Confused about Internal Window
Started by Alexander Predl, Oct., 16 2019 12:07 PM - No answer
Connect yourself…
Alexander Predl
#1
Posted on October, 16 2019 - 12:07 PM
Hi,
I have a question, because I need to clarify:
I have a window "WIN_QUICK2" in this window is a IWC_Artikel internal window control init without any internal window.
IWListDeleteAll
(
IWC_Artikel
)
HReadFirst
(
Artikel
,
ArtikelNr
)
WHILE
NOT
HOut
(
Artikel
)
IWListAdd
(
IWC_Artikel
,
IW_QUICK_Artikel
,
Artikel.ArtikelNr
)
HReadNext
(
Artikel
,
ArtikelNr
)
END
So do I load an internal window control main, the reason is, I want to "swipe" the content, there are only few products, so this is not a concern.
Swiping per programming is IWListNext(IWC_Artikel) or IWListPrevious(IWC_Artikel) works
As you can see, I pass a parameter to the internal window, itentifying the window with nArtikelNr (as a parameter) or as "EDT_ArtikelNr" with is an edit field in the internal window IW_Quick_Artikel
So now to the real question;
If I add in WIN_QUICK2 a button, with
info(IW_Quick_Artikel.value) //Always nothing
info(IW_Quick_Artikel.EDT_ArtikelNr) //Is always 1 (regardless the swipe window count, regardless displayed EDT_ArtikelNr)
Info({"IWC_Artikel.EDT_ArtikelNr",indControl}) //Displays the right ArtikelNr!!!!
Is this ok,per random, or not intended like this???
If I write
Info(IWC_Artikel.EDT_ArtikelNr) //Syntax error
Is there another solution to get the content of the actual internal window??
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