I’m pretty sure that popup/dropdowns used to display the value stored in the 
array’s element at index 0 in earlier versions of 4D, if you set the array’s 
value to 0. I have code in the system that uses that to display a title for a 
popup that is separate from the values, or to display a value that is not in 
the list of values.

However, in v16.4 on macOS, the element zero value only displays if the array 
is empty. If the array is not empty, but the array’s value is set to 0, it 
displays either as blank or the first element (first element was blank, I 
didn’t test with non-blank first element).

So my question is did it always work this way, and I just never tested that 
code properly? If it changed recently, does anyone know when? It seems 
inconsistent to display the value in element 0 only if the array is empty. 

Jim Crate

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to