Ok,, I think this is a bug. I had a Map maximized. Then, create a dialog for user selection. Then click on "OK" on dialog to trigger procedure, BUT don't close dialog. While dialog is still up, process on back ground. (Create a handler for OKButton). Within that triggered procedure, create a new map and Maximize the Newly Created Map Now try to find the Width and Height of this new map It returned the value "0"!!! What's up with that This does not happen in Mi4.5 or earlier version --------------------------------- sample code Include "mapbasic.def" Declare Sub Main Declare Sub TriggerThis Sub Main Set Window FrontWindow() Max '* asumming some mapper open Dialog Control OkBUtton Calling TriggerThis End Sub Sub TriggerThis Open table "c:\temp\a.tab" '* open some map table and maximize the window Map From "a" Set Window FrontWindow() Max Note WindowInfo(frontwindow(), WIN_INFO_WIDTH) End Sub ---------------------------------------------------------------------- To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
