Delete item in a combobox
Hi
During project configuration VBA "fill" a combobox in this way.
Set zPIC = zPRJ.DynPictures.Item("Layout.Top")
zPIC.Elements.Item(2).CreateDynProperty ("States[" & CStr(IndexObj) & "]")
zPIC.Elements.Item(2).CreateDynProperty ("States[" & CStr(IndexObj) & "].Text")
zPIC.Elements.Item(2).DynProperties("States[" & CStr(IndexObj) & "].Text") = Group
zPIC.Elements.Item(2).CreateDynProperty ("States[" & CStr(IndexObj) & "].Value")
zPIC.Elements.Item(2).DynProperties("States[" & CStr(IndexObj) & "].Value")=IndexObj
zPIC.Save
Everything is ok.
My question is : always through VBA is possible to delete an extension of a combobox?
Thanx
This is a migrated post! Originally posted on 11.07.2008 by user fabios. Please be aware that information can be outdated.