Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a dialog in MapBasic that includes an EditText control, a PopupMenu control and a button. When the user presses the button a sub is called. In this sub I would like to get the values of the EditText and PopupMenu, do some maths with them and then output the results into a second EditText control (which will be disabled so as to be used for output only).

My question is how do I get the values from the EditText and Popupmenu controls?

share|improve this question
up vote 2 down vote accepted

The function I was looking for was ReadControlValue().

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.