Message de Tobias Krais  date 2007-11-09 15:14 :
Hi Cor,

How can I preselect an item?
In basic, I simply do this by
    oControl = oDocDlg.GetControl("xxx")
    oControl.selectItemPos(i, True)

Thus not on the model.

I use Java, so I cannot apply your suggestion on the control. The method
selectItemPos(...) is not available on the control, but on the model.
Using it on the model has no effects if the dialog is not yet executed.


Tobias answer is perfectly correct and can of course be implemented in Java. Check again your code :-)

______
Bernard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to