Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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
add comment

1 Answer 1

up vote 2 down vote accepted

The function I was looking for was ReadControlValue().

share|improve this answer
add comment

Your Answer

 
discard

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.