ds_OpenMethodByID


ds_OpenMethodByID (methodID {; lineNum}) <- errorCode
Parameter Type Description
-> methodID Long Integer Method ID
-> lineNum Integer Line number to select
<- errorCode Long Integer Error Code (0 = no error)


Opens the method in the Design Mode. If the line number is valid, the line number lineNum is selected. If the current user doesn't have access to the Design mode or if the method is protected (component) an error is returned.

This routines enables you to open method that have "no name", such as object methods, form methods, etc. Those IDs can be retrieved using other routines such as ds_GetFormMethod.