FORUMS PROFESSIONNELS
WINDEV
,
WEBDEV
et
WINDEV Mobile
Accueil
|
Messages récents
|
Connexion
|
Déconnexion
|
Français
Accueil
→
WINDEV Mobile 2024
→
Confused about Internal Window
Confused about Internal Window
Débuté par Alexander Predl, 16 oct. 2019 12:07 - Aucune réponse
Connectez-vous…
Alexander Predl
#1
Posté le 16 octobre 2019 - 12:07
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??
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