yxzzjg Posted February 9, 2019 Share Posted February 9, 2019 Create multiple components dynamically in turn (uniedit, unicombobox, unimemo, unidatetime ) and set the properties to Align:= alTop; why is the order of permutation not the order I created? What do you need to do to rank them in order of creation? I use version 0.94, and the latest trial version has this problem. Quote Link to comment Share on other sites More sharing options...
yxzzjg Posted February 9, 2019 Author Share Posted February 9, 2019 demo procedure bitbtn1.click() begin with TunimEdit.Create(self) do begin parent:=UnimContainerPanel1; Name:='edt1'; Height:=30; Align:=alTop; end; with TUniMemo.Create(self) do begin parent:=UnimContainerPanel1; Name:='mmo1'; Height:=30; Align:=alTop; end; with TunimEdit.Create(self) do begin parent:=UnimContainerPanel1; Name:='edt2'; Height:=30; Align:=alTop; end; end; ============================================== I want to be in the order of creation edt1 - > mmo1 - > edt2 The actual order turns out to be edt1 - > edt2 - > mmo1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.