1 Feb 01:06
Want enterable List Box but no line selection
Hi. I'm using 4D 2004.8 on Windows. I have a List Box that allows data entry into the cells. The default 4D behavior seems to be that when the user clicks on a cell, it first selects the line, and then the user must click again to start entering data into the cell. Then, when the user later clicks or tabs out of the List Box, 4D displays the last-selected line with a faint gray background. I don't want either of those things to happen. I want the user to be able to click once into a cell and start typing. Then when he tabs out I want all the lines of the List Box to look the same. (Obviously, my app doesn't need the concept of a "selected line" on that screen.) Is there a built-in attribute that lets me do that, like AreaList has? I have solved my problem through complicated programming, i.e. trapping the various events and using EDIT ITEM and/or SELECT LISTBOX ROW to get the effect I want. But I'm hoping there's a simpler way to do it. Thanks. - John. ********************************************************************** 4D v12.3 is available - OSX Lion Certified, and more http://www.4d.com/products/new.html 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech(Continue reading)
RSS Feed