Group2D = Nil

  1. 2 weeks ago

    Robert L

    May 20 XDC Speakers Federal Way, WA (Seattle Area)

    I have a Group2D property that is full of Object2Ds. If you wanted to empty it out, you could use a loop with RemoveObject until it was empty. But is it kosher to just assign Nil to the Group2D property? And then refill it with other Object 2D's?

  2. Markus R

    May 20 Testers, Xojo Pro Europe / Germany / Lower Saxon...

    seems RemoveAll is missing ... (RemoveAllRows if we speak about consistent)
    i would use

    = New Group2D

    instead of removing them one by one

or Sign Up to reply!