Re: Type Ahead in Array Listbox Cell

2019-04-11 Thread Doug Cottrill via 4D_Tech
Kirk, Yes, that is in fact what I’m doing. And I know it works because it fills in the rest of the name I want after i type in the first letter. The problem is, it won’t let me highlight the new text that was entered so that if I type another letter it replaces the highlighted text. So for

Re: Type Ahead in Array Listbox Cell

2019-04-11 Thread Kirk Brooks via 4D_Tech
Doug, I believe you want to use the On after keystroke form event on the listbox (or the column) and the Get edited text function. Get edited text returns the text that's being edited before it's saved to the object it's edited in. On Thu, Apr 11, 2019 at 8:35 AM Doug Cottrill via 4D_Tech <

Type Ahead in Array Listbox Cell

2019-04-11 Thread Doug Cottrill via 4D_Tech
Hi all, I’m trying to implement a type-ahead feature in an array listbox cell. I have this functionality in a form variable, and it works great- when the user types, code in the on after edit finds the first record value in a field that matches the first few characters, fills in the rest, and