Declaration
function IsSelObject(hobj: integer): boolean;
Description
IsSelObject returns true if hobj object is selected.
The last inserted object is always selected.
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of IsSelObject, use:
TIELayer.Selected
if ImageEnView1.CurrentLayer.Selected then...