Thank you qwerty, this what I ended up with
shape main{
SetFillColor(153, 153, 153);
Rectangle(-1, -1, 101, 101);
SetFillColor(255, 255, 255);
SetFontColor(0, 0, 0) ;
DrawNativeShape();
}
The native shape needs to be drawn after the rectangle. If it is drawn before the rectangle sits on top of the native shape and, since Sparx EA doesn't seem to have the concept of No Fill, it hides the native shape from view.
This has reminded me it is not the 1st time I asked this question.
Paolo - Adding ActRect=1; to the style of a diagram object -i.e., [t_diagramobjects].[ObjectStyle] - does absolutely nothing. Sparx EA simply ignores it.