Bug or abuse? The SelectRange function is not work with comb box

Hi there,
I was written a script to get the select start and end postion for a combbox(edit mode), the document said this SelectRange function can work with a combo box for the edit field, but in fact the result of this function always return 0 in the vector result. I have tired that if the control is a edit, then it works ok.

Dim selVec
set selVec = Dlg.Control("cmbNameTemp", "MusicFileDlg").SelectRange()
'the selVec get two 0 element.
Dlg.Control("cmbNameTemp", "MusicFileDlg").SelectRange 1, 1  'try to set sel range, but not work

the version of dopus:
Directory Opus 13.20.2 (Beta) Build 9410 x64
OS 10.0 (B:19045 P:2 T:1) SP 0.0

Tks!

What type of combo control is it? If the type is set to "Drop-down" the function doesn't work because drop-down combos don't have selection ranges; only "drop-down edit" and "simple list" do.

I've tried "drop-down edit" and "simple list", both not work! please check.

It does seem to work OK, but a limitation of the combo box control is that when it loses focus it automatically resets the edit selection point to 0. So the function will probably only return meaningful data when the control actually has input focus.

I see, I think the reason is what you said, I was tried to insert some text to the combo box edit field at the selected pos, this action was triggered by click a button, as you said, when I click the button , the combo box lost the focus, so return 0 ! I was changed my solution to a pure edit control, it works fine.
by the way, can dopus return the real select range even combo box lost focus?