Hello
I created a function with the code below.
How i replace the last parameter (string as_position)
with an enumerated?
What Argument Type should I use?
Thansk
Parameters:
string as_window_name
wn_main_master ao_wn_pointer
string as_position
Code:
[omissis]
choose case as_position
case 'L'
li_rc = OpenSheetDocked (ao_wn_pointer, ls_name, go_ac.of_get_controller_window (), WindowDockLeft! , ls_unique)
'R' case
li_rc = OpenSheetDocked (ao_wn_pointer, ls_name, go_ac.of_get_controller_window (), WindowDockRight! , ls_unique)
'T' case
li_rc = OpenSheetDocked (ao_wn_pointer, ls_name, go_ac.of_get_controller_window (), WindowDockTop! , ls_unique)
case 'B'
li_rc = OpenSheetDocked (ao_wn_pointer, ls_name, go_ac.of_get_controller_window (), WindowDockBottom! , ls_unique)
end choose
[omissis]