ImageEn, unit imageenview

TImageEnView.LayersShowPropertiesDialog

TImageEnView.LayersShowPropertiesDialog


Declaration


function LayersShowPropertiesDialog(LayerIdx: integer = LYR_SELECTED_LAYERS): Boolean;


Description


Display the Layer Properties dialog for a layer, which allows the user to modify the style and other settings.
Result is true, unless the user cancels out of the dialog.
If LayerIdx is LYR_SELECTED_LAYERS, then the current layer is edited.

Note: Even if multiple layers are selected, only the current layer is modified.


Example


// Display the properties dialog for the selected layer
ImageEnView1.LayersShowPropertiesDialog();




See Also


- LayersNewLayerDialog
- OnShowDialog