ds_GetMethodNames


ds_GetMethodNames (names; filter {; visible {; IDs}}) <- errorCode
Parameter Type Description
<- names Text Array Method names array
-> filter String Name search filter
<- visible Numeric or Boolean Array Visibility
<- ids Numeric Array Methods IDs
<- errorCode Long Integer Error Code (0 = no error)


Load in synchronised Arrays:

The filter parameter allows for loading only methods which start with the filter value.

The arrays Visible and IDs, and Filter are optional. They may be omitted when calling the routine.

The visibility of a method is set in the 4D Design Mode. When the method editor is opened use "Get method properties..." from the "Method" menu. A method that is invisible is not listed in standard 4D Editors ("Execute method", Quick Report, etc.).

Beware: compilation changes the IDs.

Version 1.1: Names can be loaded less or more quickly, given less or more time to the 4D scheduler, using the ds_Preferences routine. Because loading a lot of methods on slow computers can take several seconds, and may not give the hand to the 4D scheduler. In this situation, the user may think his/her machine is freezed while it is not.