Move Tool Bar Buttons

This ESPL script can be used to change the location of the buttons on the main button bar.   The main button bar goes full width across multiple monitors, so the buttons can be located anywhere on the bar.   This example also changes the layout tab control location.

begin
  if (Who=1) and (btnCharts.left=3) then begin

    btnCharts.left:=btnChart.left+1024;
    btnQuotes.left:=btnQuotes.left+1024;
    btnNews.left:=btnNews.left+1024;

    tabLayout.left:=3;
    tablayout.width:=1020;

  end;
end;

This is the principle.  You will change the LEFT property of each button so that the button location is moved 1024 pixels to the right.  I am assuming you have your first monitor resolution at 1024 horizontal pixels.  If you have it at 800 pixels, then use 800 in the example instead of 1024.

The new button location is presently being used by the tabLayout control being so wide.  So we change the left location of the tabLayout and also shorten its width so that it no longer interferes with the placement of the buttons on the center monitor.   The example shows moving three of the buttons, but you will have to move all of the buttons that are in the following list.  The names are in order of the button's location on the main button bar from left to right.

btnCharts
btnQuotes
btnOptions
btnNews
btnTrades
btnAlerts
btnLayouts
btnLevel2
btnPrint
btnInternet
btnTimerStart
btnTimerStop
btnExit
btnTemplate
btnScrollUp
btnScrollDown
btnZoomIn
btnZoomOut
btnRescale
btnEraseBox
btnSymbols
btnTimes
btnTypes
btnStudies
btnLine
btnTools
btnColorBars
btnObjects

The layout tabs is object  tabLayout.