
This method will add a path to a directory selection ComboBox that has the Style property set to 12 - Directory Picker.
Returns the following according to the situation:
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_ComboBox_AddPath MyControlReference [as Reference] sNewPath [as String] ) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_ComboBox_AddPath ProjectFile [as String] DialogName [as String] ControlName [as String] sNewPath [as String] ) |
Copy Code |
|---|
; Add to the combobox (Odcl_ComboBox_AddPath MyProject_MyForm_MyControl "C:\") |