How to change the value of the current row in a listbox

In LibreOffice Base Basic, for a listbox object there is a method getCurrentValue, but no setCurrentValue. The property CurrentValue is read-only.
There is the method setitemText(, ) but then how does one get hold of the current row number?