I may be wrong about this, but I am sure that the "Into" variable would not be populated until the dialog is OK'd. Whilst the dialog is open then as Ben says the ReadControlValue() statement will always return the currently highlighted menu choice, remember that it will return an integer representing the option chosen, you would need to consult a population array if you wanted to get the string value.
Hope this helps/clarifies! Colin Henderson -----Original Message----- From: Mark Williamson [mailto:[EMAIL PROTECTED]] Sent: 16 May 2002 09:16 To: [EMAIL PROTECTED] Subject: MI-L PopUpMenus Hi again I have a PopUpMenu which has three items in it. I am using an Integer variable for the 'Into' statement for the dialog control. The PopUpMenu calls a Handler step which prints out the Integer variable using Str$(int_variable) however the only value i get is zero, the variable is global !!! Any suggestions gratefully received. Thanks Mark ******************************************************************** This Email and any attachments has been virus checked upon receipt at the OS and is free of all known viruses. ******************************************************************** *************************************************************** For more information on Ordnance Survey products and services, visit our web site at http://www.ordnancesurvey.co.uk *************************************************************** --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
