Tech Tip: Change in collection/entity based listbox behavior between 17.x and 17 R
PRODUCT: 4D | VERSION: 17 R | PLATFORM: Mac & Win
Published On: June 12, 2019
Previously when updating data in a entity/collection-based listbox in 17.x, the listbox variable was required to be assigned to the new data which forced the listbox display to refresh itself as shown below.
|Form.LB:=Form.LB.push(4) // Listbox requires reassignment in 17.x|
However in the R releases, as long as the collection or entity member functions directly modifies the data, the listbox variable no longer requires to be assigned to reflect the updated data.
|Form.LB.push(4) // No assignment required in 17 R|