Moves a layer up or down in the viewer zorder list (only visible layers). This procedure takes into account only visible layers; invisible layers (HideFromLegend=True) located after current layer will be moved together. If current layer is not visible, then the nearest visible (but previous on the Items list) layer will be used as an anchor.
// Delphi public procedure MoveEx( const _step : Integer ); virtual;
// C++ Builder public: virtual void MoveEx( const int _step );
|_step||Integer||how many steps and in which direction a layer must be moved; negative values mean movement to the front.|
// let's layer to the beginning layer.MoveEx(-1);