PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WEBDEV 2024
→
How to enumerate elements found in a Table Container column?
How to enumerate elements found in a Table Container column?
Started by Vadim, Sep., 07 2018 9:35 AM - 1 reply
Connect yourself…
Vadim
#1
Posted on September, 07 2018 - 9:35 AM
Hello, everyone!
I have an AJAX table with a container column with several buttons inside.
How can I enumerate them correctly in WLanguage?
I tried different functions like EnumControl, EnumSebEelement, TableEnumColumn etc.
But they all return empty string...
Many thanks for any help in advance!
Report
0
0
TheWorldAsGarp
#2
Posted on October, 09 2018 - 7:01 PM
Hi,
Here is a exemple of code ( sorry it's in french ) , see below.
You must work with a "champ" ( "Field" in englis) type variable. Then, you can scan the type of the Field.
See the web page
https://doc.pcsoft.fr/fr-FR/?2510131
and traduce in English.
Fo a colonne, you must control with "52"
// > Parcours des champs de la fenêtre <
// > Variable de type champ (chaine) <
C
hmRcvChamp
est une
C
hamp
// > Analyse des champs de la fenêtre <
// > Extraire le type d'un champ : https://doc.pcsoft.fr/fr-FR/?2510131 <
EntIdce
=
1
// > Receptionne le champ de la fenêtre dans une variable Champ <
// > Attention : doit faire une prise de référence <
QUAND EXCEPTION
EXCEPTION DANS
C
hmRcvChamp
<
-
EnumèreChamp
(
_NomFenetreAppelante
,
EntIdce
)
FAIRE
// > Pas de prise de référence : on force le pointeur à "Null"
C
hmRcvChamp
<
-
Null
FIN
// Plus ( ou pas de champ ) dans la fenêtre.
TANTQUE
C
hmRcvChamp
<
>
Null
// > Type de chmp COMBO <
SI
C
hmRcvChamp
..
Type
DANS
(
52
)
FIN
Good dev.
Report
0
0
→ Go back to WEBDEV 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