Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 804499
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T23:55:49+00:00 2026-05-14T23:55:49+00:00

I have a dropdown and a Icommand button in the same toolbar in ArcMap.

  • 0

I have a dropdown and a Icommand button in the same toolbar in ArcMap. I can’t seem to get access to the dropdowns selection when I am using the command button.

How can I find the dropdown so I can find out what the user just selected?

Thanks

Scott

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T23:55:50+00:00Added an answer on May 14, 2026 at 11:55 pm

    I found the Drop Down with this code… Then I dove a little Deeper to pull the dropdown out.

    var commandBars= m_application.Document.CommandBars;
               ESRI.ArcGIS.esriSystem.UID pUID = new UIDClass();
               pUID.Value = "{A6D2046E-F92C-440f-B54B-91899B4F667E}";
               var commmandItem = commandBars.Find(pUID, false, false);
    

    Then the Dropdown was at:

    (ComboBox)((LOSBaseCampExample.LOSSurroundBaseCampControl)(commmandItem.Command)).Controls[0])
    

    Note: LOSBaseCampExample.LOSSurroundBaseCampControl was the name of MY tool… Your will be different.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have dropdown menu..which is dynamic.. How can get value of the last item
I have three values I need to align in a dropdown box. How can
I have Dropdown and on click of a button, I want to display data
I have dropdown list control in one of my application and when I add
I have a dropdown list that stores name/value pairs. The dropdown appears in each
I have a dropdown box and a literal tag inside an Update Panel. On
I have a dropdown, I have a datasource, I have AutoPostBack set to true
Is there any way to have a dropdown in excel that will show a
So, I have an autocomplete dropdown with a list of townships. Initially I just
I have a custom built ajax [div] based dynamic dropdown. I have an [input]

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.