On Jul 8, 2019, at 12:46 PM, Patrick Emanuel wrote:

> Very impressive and useful!
> Great job.
> 
> By curiosity, can you explain us the trick you use to get the result into
> the search dialog?

Thank you and glad you are finding it useful. 

The component basically uses 2 4D commands. METHOD GET PATHS is used to load an 
array of method names that begin with what you type. Once you select a method 
you want to open METHOD OPEN PATH is uses to open the method. 

The majority of the code in the component deals with the user interface and 
handling the clairvoyance feature and keystrokes you press when typing in a 
method name. I used the example code in the documentation for the FILTER 
KEYSTROKE as a starting point. 

https://doc.4d.com/4Dv17/4D/17.2/FILTER-KEYSTROKE.301-4387030.en.html 

Tim

*****************************************
Tim Nevels
Innovative Solutions
785-749-3444
[email protected]
*****************************************

**********************************************************************
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to