laguna92651 Posted February 5, 2016 Posted February 5, 2016 (edited) I have a layout that has a search field on it, the search field does dynamic filtering of a portal. This works fine when I type in a series of letters with the keyboard. I have added a alphabet button bar to do entry with a mouse, when I select a letter with a mouse the selected letter is placed in the search field, this also works fine. My problem is, is that the search field does not recognize that a letter has been inputted, how would simulate a keyboard entry? Using this step to set filtering field. Set Field [TO6_List::g_search_list; Get(ScriptParameter)] Related question, how should I go about entering a series of letters into the search field for dynamic filtering? Dynamic searching works fine with keyboard entry. Edited February 5, 2016 by laguna92651
laguna92651 Posted February 5, 2016 Author Posted February 5, 2016 A Refresh Portal did the trick. I am still looking for input on how to enter a series of letters with the mouse and the alphabet button bar for dynamic filtering?
comment Posted February 5, 2016 Posted February 5, 2016 14 minutes ago, laguna92651 said: how to enter a series of letters with the mouse and the alphabet button bar Not sure what the exact problem is. I guess you want to do: Set Field [ YourTable::gInputField ; YourTable::gInputField & Get ( ScriptParameter ) ] Personally, I would prefer to use Insert Calculated Result, so that (1) the regular keyboard remains active alongside the virtual one, and (2) to enable user to move the cursor to where they want to insert the next character - not necessarily at the end of of the existing text.
laguna92651 Posted February 6, 2016 Author Posted February 6, 2016 Works like I wanted. How would the Insert Calculated Result be implemented not quite sure how it would be used.
LaRetta Posted February 6, 2016 Posted February 6, 2016 It is a script step just like Set Field[]. The difference is that Set Field[] can only place a parameter at the beginning or end of the 'field contents' depending upon how you arrange the calculation results whereas Insert Calculated Result[] inserts at the point of the cursor. Try it out. :-)
comment Posted February 7, 2016 Posted February 7, 2016 On 02/06/2016 at 9:05 PM, LaRetta said: Set Field[] can only place a parameter at the beginning or end of the 'field contents' Actually, Set Field[] can place it anywhere you want - including at the point of the cursor (or rather in place of the current selection). It's just that using Insert Calculated Result[] for this purpose is much easier.
Recommended Posts
This topic is 3558 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now