Hi all,
I cannot get the ClearDomainList method to work in OpenCities Map update 3 (OCM).
In previous Bentley Map versions (XM, SS2/3/4) this was no problem, but in OCM nothing happens (not even an error is raised ).
Easy way to reproduce: see the default geo_example XFM schema, I did use the BookStore example to test it:
Sub StartBookstore() LoadOperationFile "Bookstore" Dim clsBookStore As New clsBookStoreMessages Dim fullFileName As String fullFileName = ActiveWorkspace.ExpandConfigurationVariable("$(MS_GEOWSHOME)vba\bookstore.xml") clsBookStore.OpenBookStore fullFileName Dim bookStoreDialog As xft.dlogBox Set bookStoreDialog = xft.OpenModelessDialog("BookStore", "editBook") bookStoreDialog.RegisterToGetCommands clsBookStore bookStoreDialog.RegisterToGetDialogEvents clsBookStore 'Add to Genre ComboBox's domain list Dim dialogItem As xft.DlogItem Set dialogItem = bookStoreDialog.GetItem("Genre") dialogItem.ClearDomainList 'THIS LINE SHOULD CLEAR THE CURRENT LIST dialogItem.AddDomainRow "col1|History", "|" dialogItem.AddDomainRow "col1|Biography", "|" dialogItem.AddDomainRow "col1|AutoBiography", "|" clsBookStore.ShowRecord bookStoreDialog End Sub
Regards,
Corno
Corno,
In Bentley Map V8i (SELECTseries 4) 08.11.09.xxx, is the ClearDomainList method working for you? If so, have you a simple example other than the above bookstore code which illustrates it working?
Jeff Bielefeld [Bentley]
Hi Jeff,
This function is also not working in Bentley Map (SELECTseries 4) 08.11.09.xxx.
In my memory it did work in SS4 but I'm wrong here.
I appreciate that confirmation which is consistent with my findings. A new OCM defect has been filed and scheduled to be resolved as part of the next U4 release.