You treat each of the column objects separately. So let's say your columns are named "col_1", "col_2" and so on. (This is the object name.) Use OBJECT SET FORMAT to manage the formatting from there. https://doc.4d.com/4Dv17/4D/17.4/OBJECT-SET-FORMAT.301-4882942.en.html
On Sun, Mar 15, 2020 at 12:09 PM wangel--- via 4D_Tech <4d_tech@lists.4d.com> wrote: > In a listbox with a selection of records I have some columns with numbers. > They have the number format 0.00. Not all the cells have numbers greater > than 0, so is it possible to programmatically change the format to #.## in > cell where the number is 0? > > ********************************************************************** > 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 > ********************************************************************** -- Kirk Brooks San Francisco, CA ====================== ********************************************************************** 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 **********************************************************************