Dynamic Panel Ordering?
-
@ulrik wrote some dope code for re-orderable panels. Does anyone have ideas for making the number of panels dynamic (can be added and deleted)? Thanks.
HiseSnippet 1804.3oc2Y0uaSbDD+tjb.mApfJTUU+qsVUEmhw3ORBUMEgSbR.qRHQwAZQnHzl6V6aIm285dqShUIua8QnOJ7FjN6d12GD6zXSA0TKAx2NyryuY9M2rqmrsf6PBC4BCS6c6GPLLugUq9LoWCOLkYzbMCyYspYrZ+.bXHw0vzb1mnDXZOmg9y6e7pXeLygjrjgwK4TGxyncoxjU2t9uP882.6R1k1Mk1KTuoCm0f6y6ITNqrQ.14.bGxywJ0lwxv7Jq6RkbQKIVRBMLmaUta+Vd7iXQ5+RZHceeh5gJFsfMJZ4M39tJDqV0ngG02c6gAanggo01Ig9rQg9cr1j5RiWOIEbKs.ThEoyGlyjEdylAdURCuxof2HfjYJHMWDjtsUKGAMPlHQgmqa0jIIh1XHsmFJQ5ZLyxW0pAGzfIK0Ee.YCA7PrEEVpb4hH3+le4b4fTenDsIDnaiYDeziPCMrCQ1f2MfyfGJjOVi7fUQFQkjtay7CyZyJ99wlEVHeSPIkI4dvCreJPHHoGAcLJfGRkTNCg880KIgZhbs4BTg.DkEu2ymyNnTHQtl.2oCk0YUdOlaXgXzn73y3NX+ABJOO3KakyZhBANgn2btvkHPpcW8Tav8JXCtQ8XRreH1uGQY6pDTXOksbD3aDFfoPf6qdNiE2MLxFDsMfXjKmDxtqTsCXeAA61G4gOjnDowhaNPuBRfW4sQYBgWp1kByi91Ggxy2+sDGYdHxSTIbnJuFXtJEQUKhpUDsPQzh6MH2tYiUsu+GwmOfSgsCn018XNJVp.4PfMmO2ejy9Pr.4Ahx.+mRnc7jETodk7nz8iFYHpXGsRg9bIniG5AwNsjOg0Q5MXWntGCxikQYtji2pcAoGMLZWTISMvJ43ScNf3hd26PQK3BkKPBDv6Y0BVWKvVWsQAeTdYDE8ymAFH58tmRYaac.8Z5d5XR5URnJ1JLTePfJ.Kjue94gnQEXJ.Za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ML3JS4vfm6+bCC9RvK6YlWs8PL1h1MvmrN6PhO7CX0X7KgewZabOe4vUyVKuImwC73LpSZhdGhTP6zgHRi8QFPqHkPu+jUtS8chFaQxReW8mAEaXAjmHSYtnxDO69QxWesUDbQpW.QWdaRO6+uaRuCumDtyvlXnHTM9hm2qaKn2nCA7NCtYhZtPlyn5uE8b4gi3nEg4Vdv8KNcfvJpmMGHrxPgeV7QWrif+FmnIdopSuldEHtY5+7Z1vksfmQULzSACrypboxFcgNbuwwQkhuOzvbz1TcJro1TXyBSgMKNE1rzTXyCmBa9wy0F0gKqzSx6F8JGrv1qqGMno45otK3eCqrR8FC
-
-
@clevername27 as David says, Child panels
-
Another method that I used before the apparition of child panels (and I think is still valid for that kind of operation) is one unique panel with an object that hold the data, and a paint routine that paints them
This is particularly useful when you wan't to draw specific shapes, like a pie chart style