Stefan, The variable is local. I removed it while snipping the code for the list. I get the longitude even with this: Print "CMD_INFO_WIN: "+ CommandInfo( CMD_INFO_WIN )
Which made me think of mapbasic.def. There under 'CommandInfo() defines', are these lines: Define CMD_INFO_X 1 ... Define CMD_INFO_WIN 1 ... Define CMD_INFO_SELTYPE 1 Is MapBasic confusing the defines? Mine is used in Sub WinClosedHandler, where it should be, according to CommandInfo() Help. Mike Mike >>It seems that it was missing in your code. >>If this not solve your problem have a look on variable names. Probably you >>have iWinID defined as global variable as local one. --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 5061
