lucas555 Member Licensed User Longtime User Jul 18, 2011 #1 how do i pass an image control byref in a sub ex: private sub modify1(byref image1 as image) do someting with image1... end sub the image is on form1 for exemple !
how do i pass an image control byref in a sub ex: private sub modify1(byref image1 as image) do someting with image1... end sub the image is on form1 for exemple !
Erel B4X founder Staff member Licensed User Longtime User Jul 18, 2011 #2 You cannot pass objects in Basic4ppc. You can either use a global variable or pass the name of the variable as string and then use Image(...).
You cannot pass objects in Basic4ppc. You can either use a global variable or pass the name of the variable as string and then use Image(...).