Peter,

I think the interpretation is a legacy of terminal control keys, you can see the same keystroke duplication in the command prompt in Windows, presumeably there is a list somewhere of these, though why Mapinfo is responsive to them isn't clear.

Andy

Peter Horsbøll Møller wrote:
Andy,

You are right. This was actually a problem I also ran into, but I couldn't 
recall what actually was the problem.
Another problem is that Ctrl+I seems to conflict with using the Tab in the Info 
window and in browser windows.

So appearently there are some shortcut keys that should be avoided. Some I 
guess can be discovered by checking the key codes, but some seems to be some 
kind of interpretation happing in MapInfo ??

Peter Horsbøll Møller
GIS Developer, MTM
Geographical Information & IT
COWI A/S
Odensevej 95
DK-5260 Odense S.
Denmark
Tel +45 6311 4900
Direct  +45 6311 4908
Mob     +45 5156 1045
Fax     +45 6311 4949
E-mail  [EMAIL PROTECTED]
http://www.cowi.dk/gis

COWI har fået ny hjemmeside. Ydelserne GIS og IT, kort, kortlægning, 3D 
visualisering og arealforvaltning ligger under SAMFUND. Se mere her : 
www.cowi.dk

COWI has changed its homepage. Our services within cadastre and 
landadministration, geodataproducts, mapping and GIS can be seen under SOCIETY. 
See our services here: www.cowi.com


-----Original Message-----
From: Andy Harfoot [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 11:27 AM
To: MI-L
Subject: MI-L Customised Hotkeys and the MB window


A little addition to the discussion about editing the Mapinfo.mnu to add custom hotkeys. I successfully created a couple of hotkeys to switch between the select and pan tools by inserting the following lines into the window menu section of Mapinfo.mnu:

   "Select\tCtrl+Space/W^%32"
   calling 1701,
   "Pan\tCtrl+M/W^M"
   calling 1702,

These worked fine, but I subsequently discovered that mapping the Ctrl+M sequence had the unwanted effect of disabling the ability to run commands in the Mapbasic window. I think the Ctrl+M sequence equates to a carriage return character (and vice versa?), and that defining a Ctrl+M hotkey causes presses of the return key in the Mapbasic window to
be intercepted.

Whilst investigating this though, I also discovered that the Ctrl+Return key will insert a line feed character into the Mapbasic window, and this is useful if you need a new line to type on.

Andrew



--
----------------------
Andrew Harfoot
Geodata Institute
University of Southampton

tel: +44 (0) 23 80592719
fax: +44 (0) 23 80592849
[EMAIL PROTECTED]

---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 18301

Reply via email to