Hello
I create some buttons by converting a path into a brush with PathToBrush(), displaying it as a layer brush with DisplayBrush and then assigning a button with MakeButton(). While doing this, I collect the IDs in a table, which can be used to remove them later.
I now noticed that it also works to release the brush with FreeBrush() directly after creating the layer with DisplayBrush().
Does the layer of type #BRUSH really not need the original brush anymore? Then I could omit the corresponding table.
Ralf
Layer brush and FreeBrush()
- airsoftsoftwair
- Posts: 5443
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact: