Hi Jany,
I inserted your code and had a try - with the result that everytime I called pFLayer.RemoveSelectedFeatures all Features were deleted. But this was when I used it on the shapefile that I had modified before without updating the shapeindex. So that one was probably corrupt.
A try on a new shapefile worked perfectly!
Thank you!
Claudia
I inserted your code and had a try - with the result that everytime I called pFLayer.RemoveSelectedFeatures all Features were deleted. But this was when I used it on the shapefile that I had modified before without updating the shapeindex. So that one was probably corrupt.
A try on a new shapefile worked perfectly!
Thank you!
Claudia