anchor.diff:  end;
   
   
  -procedure TKMMenuMapEditor.StartClick(Sender: TObject);
  +procedure TKMMenuMapEditor.LoadClick(Sender: TObject);
   var
     MapEdSizeX, MapEdSizeY: Integer;
     ID: Integer;
     Maps: TKMapsCollection;
   begin
     //Create new map (NumEdits hold actual dimensions)
  -  if Sender = Button_MapEd_Create then
  +  if Sender = Button_Create then
     begin
       MapEdSizeX := NumEdit_MapSizeX.Value;
       MapEdSizeY := NumEdit_MapSizeY.Value;
  
positive.code: 
    Panel_MapEd := TKMPanel.Create(aParent, 0, 0, aParent.Width, aParent.Height);
    Panel_MapEd.AnchorsStretch;
      Panel_MapEdSizeXY := TKMPanel.Create(Panel_MapEd, 60, 240, 220, 700);
      Panel_MapEdSizeXY.Anchors := [anLeft, anBottom];
        TKMLabel.Create(Panel_MapEdSizeXY, 6, 0, 188, 20, gResTexts[TX_MENU_NEW_MAP_SIZE], fnt_Outline, taLeft);
        TKMBevel.Create(Panel_MapEdSizeXY, 0, 20, 220, 406);
        TKMLabel.Create(Panel_MapEdSizeXY, 8, 27, 88, 20, gResTexts[TX_MENU_MAP_WIDTH], fnt_Outline, taLeft);
        TKMLabel.Create(Panel_MapEdSizeXY, 118, 27, 88, 20, gResTexts[TX_MENU_MAP_HEIGHT], fnt_Outline, taLeft);
  
        Radio_MapEdSizeX := TKMRadioGroup.Create(Panel_MapEdSizeXY, 10, 52, 88, 332, fnt_Metal);
        Radio_MapEdSizeY := TKMRadioGroup.Create(Panel_MapEdSizeXY, 120, 52, 88, 332, fnt_Metal);
        for I := 1 to MAPSIZES_COUNT do
        begin
          Radio_MapEdSizeX.Add(IntToStr(MapSize[I]));
          Radio_MapEdSizeY.Add(IntToStr(MapSize[I]));
        end;
        Radio_MapEdSizeX.ItemIndex := 2; //64
        Radio_MapEdSizeY.ItemIndex := 2; //64
  
        Radio_MapEdSizeX.OnChange := SizeChangeByRadio;
        Radio_MapEdSizeY.OnChange := SizeChangeByRadio;
        NumEdit_MapSizeX := TKMNumericEdit.Create(Panel_MapEdSizeXY, 8, 392, MIN_MAP_SIZE, MAX_MAP_SIZE);
        NumEdit_MapSizeY := TKMNumericEdit.Create(Panel_MapEdSizeXY, 118, 392, MIN_MAP_SIZE, MAX_MAP_SIZE);
        NumEdit_MapSizeX.Anchors := [anLeft, anBottom];
        NumEdit_MapSizeY.Anchors := [anLeft, anBottom];
        NumEdit_MapSizeX.Value := 64;
  
negative.code: 
  procedure TKMMenuMapEditor.SizeChangeByRadio(Sender: TObject);
  begin
    if Radio_NewMapSizeX.ItemIndex <> -1 then
      NumEdit_MapSizeX.Value := MapSize[Radio_NewMapSizeX.ItemIndex + 1];
    if Radio_NewMapSizeY.ItemIndex <> -1 then
      NumEdit_MapSizeY.Value := MapSize[Radio_NewMapSizeY.ItemIndex + 1];
    gGameApp.GameSettings.MenuMapEdNewMapX := NumEdit_MapSizeX.Value;
    gGameApp.GameSettings.MenuMapEdNewMapY := NumEdit_MapSizeY.Value;
  end;
  