I'm trying to issue a number of 'run menu command ' calls via map basic 16.03, but it doesn't seem to activate those affecting the Layout such as 5011, 5021 and 5022. This should set the 'select', 'zoom_in/out' functions for a layout window.
I can create a button for these, but if the map window is active then these are disabled, so you can't zoom in without first deactivating the map window.
I tried creating dummy buttons that then deactivate the map window and call the run command ID of those buttons nothing happens.
Any ideas how I can get these buttons to activate. I don't want the map scale changing just the ability to zoom the whole layout in when the map is active.
Cheers