
B-63874EN/05 GENERAL 6.MANUAL GUIDE i SIMULATOR FOR THE PERSONAL COMPUTER
- 35 -
6.9.3.6 [mdikey] section
Key name : keynum
Outline : Specify the number of buttons that are displayed in a
frame for MDI key display and operate as MDI
keys.
Setting method : keynum = n
Example: When 66 MDI keys are used
keynum=66
Details : Specify the number of buttons that are displayed in a
frame for MDI key display and operate as MDI keys.
The number of buttons specified here is used to
specify the number of key pressing information
items to be read next.
Key name : keyn (n: 0 to keynum-1)
Outline : Code a setting to be assigned to a button used as a
key.
Setting method : keyn = key1, key2, x , y, imagefile
Example: When the first MDI key is assigned to the
operation of "O", the display position is
(6020,1350), and an image to be pasted is
specified
key0=O,{(),6020,1350,.¥image¥o.bmp
Details : Code information for setting of a button to be
assigned as an MDI key. The following
information is to be set:
key1 Specify key information (to be described
later) to be passed to the CNC display
section application when a button is
pressed.
key2 Specify key information to be passed to
the CNC display section application
when a button is pressed while the
SHIFT button is held down.
x, y Specify the display position of a button
in twip. For display position setting,
specify relative coordinates on the frame
for MDI key display, with (x,y) = (0,0)
for the top-left corner of the frame for
MDI key display.
Imagefile Specify the path of the image file to be
pasted to a button. The size of an image
for a soft key is 36×36 pixels.