the collection type listbox introduces a new "meta" property. if each row in the list is an object or an entity, you could have an optional static This.meta property, which would control properties such as style, colour, disabled, selectable, at the row or cell level.
http://doc.4d.com/4Dv17/4D/17/List-box-specific-properties.300-3743666.en.html http://doc.4d.com/4Dv16/4D/16.4/Managing-List-Box-Objects.300-3978736.en.html (new: doc.4d.com<http://doc.4d.com> now has a table of contents on the right column) since the property is an expression, it can also be a method that dynamically returns an object with the relevant properties. but this feature assumes all rows are visible (it can be disabled or inactive). collection type listboxes are really productive when used with collections, ORDA and object notation. one noticeable disadvantage compared to array type is the automatic row height feature (4D View Pro license), but maybe "hidden row" is another one. that said, the hidden row feature was created to quickly display a filtered sub-selection of a large array. since collections can be filtered, expanded or even swapped and restored, I don't think the "hidden row" will be that missed. notice also that the "hidden row" boolean array have been superseded by the "control row" longint array, a combined value that controls 3 properties (hidden, enabled, selectable) 2018/10/12 6:05、Kirk Brooks via 4D_Tech <[email protected]<mailto:[email protected]>>のメール: Second - can you do that with a collection or object based listbox? ********************************************************************** 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] **********************************************************************

