m_PlanActiveView = m_pMap 'set the Map of the MapControl m_PlanActiveView.ShowScrollBars = False 'MapControl ScrollBars are not visible If ClassGlobal.ActiveView.FocusMap IsNot m_pMap Then 'ClassGlobal.ActiveView is the ActiveView of ArcMap ClassGlobal.ActiveView.ShowScrollBars = True 'If this line is executed m_PlanActiveView.ShowScrollBars changes to True(!!!) ClassGlobal.ActiveView.ShowSelection = False 'Test if this problem affects other properties of the MapControl m_PlanActiveView.ShowSelection = True '.. no, ClassGlobal.ActiveView.ShowSelection stays False while m_PlanActiveView.ShowSelection is True End If
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.