There is the answer: "the data source is arrays". The highlight set only applies to selection (table) based list boxes. To get the highlighted rows of an array listbox, you use the True/False value of the boolean array representing the listbox. See the "Managing Selection" section on the page below.
https://doc.4d.com/4Dv17/4D/17.2/Managing-List-Box-Objects.300-4386875.en.html John DeSoi, Ph.D. > On Jul 7, 2019, at 4:42 PM, Carl Aage Wangel via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > I am using the right listbox name (listbox object name) and the data source > is arrays. But $tableNum is -1 and $namedSelection and $highlightSet is “” > (empty). ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************