KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
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
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

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