what is the "variable type" in property list set to?
it should be numeric (default is string)

just tested,

$l:=New list
APPEND TO LIST($l;"a";1)
APPEND TO LIST($l;"b";2)
APPEND TO LIST($l;"c";3)

$p:=OBJECT Get pointer(Object named;"Tab Control")
$p->:=$l

and

$sel:=Selected list items(*;"tab control")

returns 1, 2 or 3

(v17)

---

between v13 and v16,
there was the addition of

OBJECT SET LIST BY REFERENCE

and

OBJECT SET LIST BY NAME

I think this is related.

when I create a list in the toolbox and assign it via the property list,
the function returns the selected item if it is numeric,
but 0 if it is string. (string implies you use an array text)

> 2018/07/12 5:46、Douglas von Roeder via 4D_Tech <4d_tech@lists.4d.com> のメール:
>
> Is this a "b_u_g" or did I, perhaps, miss something in the docs about not
> populating a tab control using a list any longer?




**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**********************************************************************

Reply via email to