Hi
I have a treeview with a image for each treeview item.
I refresh each image with
TreeView_Item_CTRL(NumCtrl-1).Image = imggreen or
TreeView_Item_CTRL(NumCtrl-1).Image = imggreen
to see the changes on the treeview I must also change the text
TreeView_Item_CTRL(NumCtrl-1).Text = "1: " & Code_ADN.Cabinet(c-1).CTRL1
After +- 1000 refreshing the program crashes with this code
java.lang.OutOfMemoryError: Java heap space
How to refresh correctly the treeview ?
thank you
I have a treeview with a image for each treeview item.
I refresh each image with
TreeView_Item_CTRL(NumCtrl-1).Image = imggreen or
TreeView_Item_CTRL(NumCtrl-1).Image = imggreen
to see the changes on the treeview I must also change the text
TreeView_Item_CTRL(NumCtrl-1).Text = "1: " & Code_ADN.Cabinet(c-1).CTRL1
After +- 1000 refreshing the program crashes with this code
java.lang.OutOfMemoryError: Java heap space
How to refresh correctly the treeview ?
thank you