I try to add layers to the demo application IconicApp4. The way I create the layers are:
HintergrundLayer = GoView1.Document.Layers.CreateNewLayerAfter(Nothing)
KomponentenLayer = GoView1.Document.Layers.CreateNewLayerAfter(Nothing)
Also I have a combobox where i can slect the current defaultlLayer
GoView1.Document.DefaultLayer = KomponentenLayer
When I now drag a object from the goPalette i think the object goes to the defaultLayer but it seems that the object don’t go to a layer. When I switch the layer from KomponentenLayer to HintergrundLayer and set the KomponentenLayer to AllowSelect
= false and AllowEdit
= false I still can delete the objects.
Any hint what I’m doing wrong here? I want to try the use of diffrent layers for an application.
Thanks a lot,