It seems there is some inconsistent behavior using formindex when grouping elements.
Although formindex has been explicitly set in the .frm file, the z-order is not respected in form designer.
When running the form in SmartClient, the elements are presented properly.
See contents of sample form below.
The rectangle is always hiding the 2 command buttons in form designer.
Grouping & ungrouping, send-to-back/front has no effect when regrouping at the end.
Thanks for any suggestions.
Koenraad
borderType:“EmptyBorder,0,0,0,0”,
items:[
{formIndex:2,
groupID:“Group1”,
location:“65,29”,
margin:“0,0,0,0”,
name:“Command1”,
onActionMethodID:“-1”,
onDoubleClickMethodID:“-1”,
onRightClickMethodID:“-1”,
size:“127,27”,
text:“CommandButton1”,
typeid:7,
uuid:“5C90EB4C-AE62-4045-AFA7-0A593CD25A09”,
},
{
background:“#d4d0c8”,
borderType:“EtchedBorder,1,null,null”,
foreground:“#000000”,
formIndex:1,
groupID:“Group1”,
location:“60,24”,
name:“$Commandgroup1”,
shapeType:1,
size:“169,169”,
typeid:21,
uuid:“B262519F-E453-4CEA-8CA5-A2E38DB72527”
},
{
background:“#d4d0c8”,
height:290,
partType:5,
typeid:19,
uuid:“CBC186F8-33A3-4D4A-9497-244D850ACC9A”
},
{
formIndex:3,
groupID:“Group1”,
location:“65,58”,
margin:“0,0,0,0”,
name:“Command2”,
onActionMethodID:“-1”,
onDoubleClickMethodID:“-1”,
onRightClickMethodID:“-1”,
size:“127,27”,
text:“CommandButton2”,
typeid:7,
uuid:“DC0A3EEA-4744-4701-A9F6-356AE9E44B8C”,
}
],
name:“formobject”,
navigatorID:“-2”,
paperPrintScale:100,
scrollbars:18,
showInMenu:true,
size:“663,290”,
titleText:“Form1”,
typeid:3,
uuid:“CF3D165A-7B1B-41A6-BD5D-0305F7CD940A”