PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Combox in Table conrol
Combox in Table conrol
Débuté par Friedrich, 10 juil. 2019 11:55 - 2 réponses
Membre enregistré
1 message
Posté le 10 juillet 2019 - 11:55
I'M still not getting it. I want a combobox in a table control
and I want to add the values in the combo box.

But i won't see any entry in the combo box

Here's the code I have:
IN END of initialization of WIN_WinTest
bRes is int
bRes = TableAddLine(TABLE_One, "", "new")
Info ("bRes = " + bRes)



In Initializing Table OnE

bRes is boolean
bRes = ListAdd(COL_CB1, "one")
bRes = ListAdd(COL_CB1, "twoi")


I expect that the combo box ontains at least 'one' and 'two'

But no:




Posté le 18 juillet 2019 - 20:12
Hello.
Here is your solution. I use table by programming.

Result:





Code you need to insert here.



Posté le 18 juillet 2019 - 20:16
Hello.
Here is your solution. I use table content "by programming"

Result:





Code: