Re: Adding elements to a listbox containing a collection

2018-08-01 Thread Two Way Communications via 4D_Tech
Thx Keisuke. I am still getting to grips with the whole new paradigm that is objects, collections and ORDA. The amount of information is elaborate, and often in different places. So insights like this are really helpful. Good thing we have the NUG ;-) BTW, collections and ORDA are so cool!

Re: Adding elements to a listbox containing a collection

2018-08-01 Thread Keisuke Miyako via 4D_Tech
that's right, you have to "touch" the data source object to signal that it is dirty and has to be redrawn. so, even though col.push() adds an element to the collection, in this context (listbox on form), you have to assign the variable to itself: col:=col.push() 2018/08/02 5:24、Christian Sako

Re: Adding elements to a listbox containing a collection

2018-08-01 Thread Christian Sakowski via 4D_Tech
You have to assign the collection to itself: Form.cColl:=Form.cColl Then the Listbox will be updated. -- Grüße/Regards, [heubach-media] | Christian Sakowski christian.sakow...@heubach-media.de iChat/AIM: SakowskiF Tel: +49/(0)40/52 10 59-23 > Am 01.08.2018 um 22:19 schrieb Two Way Communicati

Adding elements to a listbox containing a collection

2018-08-01 Thread Two Way Communications via 4D_Tech
I guess I must be overlooking the obvious here … I searched the documentation, the NUG, the Blog but could not find an answer, so maybe somebody can help me out. I have a collection that is being displayed inside a listbox. So far so good. No issues. I can select the rows and I can edit the cell