Current filter:
                                You should refresh the page.
                                  • Hello.

                                    I found an EAccessViolation in PutIntoHiddenGroup. Run attached example and press "Add check" button.
                                    It seems that the newly created group is destroyed during setting its Container property:

                                    function TdxLayoutContainer.CreateItem(AItemClass: TdxCustomLayoutItemClass = nil; AParent: TdxCustomLayoutGroup = nil): TdxCustomLayoutItem; begin if AItemClass = nil then AItemClass := GetDefaultItemClass; Result := AItemClass.Create(ItemsOwner); Result.Container := Self; Result.Parent := AParent; Modified; end;
                                • Paulo (DevExpress Support) 02.13.2019


                                  Thank you for sharing your sample project. I reproduced this exception and forwarded this ticket to our developers for research. It may take us some time to examine this scenario.

                                • Anton Plotnikov 02.13.2019

                                  Hello, Paulo.

                                  It seems that I found a temporary workaround. I overrode the constructor in the TdxLayoutAutoCreatedGroup class:

                                  constructor TdxLayoutAutoCreatedGroup.Create(AOwner: TComponent); begin inherited Create(AOwner); if (not (csDesigning in ComponentState)) then WrapItemsMode:= wmImmediateChildren; end;

                                  But it will be nice if your developers will suggest a more optimal fix ASAP.

                                1 Solution

                                Creation Date Importance Sort by