Hi

I would like like to change the contens of one of the items in a
CoboxBox.items. I know I can add items dynamicly but what about changing
a string in the list of items. In ordinary Basic such as VB 2008 this is
not a problem. I tried the following

dim int psoition = <a value between 0 and nbItems-1>

oDlg.GetControl("myCoboBox").item(psoition) = "The New String"

When the debugger comes to this line it says that there is no such
function or value to access. I get no messages when I compile the code.

The code i inside an ott template.

Does any one have a solution for this?


Lars


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.org
For additional commands, e-mail: dev-h...@openoffice.org

Reply via email to