Support
SiteLinks |
FAQ /
Layers<< Drawing | Frequently asked questions | Alpha transparency >> 1. I have two layers, one called Layer1 and the other one called Layer2. Layer1 is in front of Layer2. Now I would like to set Layer1 behind Layer2. How do I achieve that?You can use the Index property in TCustomLayer for that purpose. Just set the Index of Layer2 lower than that of Layer1. This will move it backward. You can also use the methods SendToBack? and BringToFront? in TCustomLayer?. SendToBack will set the Index to 0. BringToFront will set Index to the largest among the rest of the layers. See menu command 'Selection' of example Gr32\Examples\Vcl\Layers\ImgView_Layers_Ex. |