iOS Question Solved - xResizeAndCrop

tsteward

Well-Known Member
Licensed User
Longtime User
When using xResizeAndCrop by Klaus
I get the following error when trying to use your library on iOS.
Works fine on Android (gee I seem to be saying that a lot)

Line is:
xResizeAndCrop1.CroppedView = pnlCroppedImage

Error is:
 

tsteward

Well-Known Member
Licensed User
Longtime User
Also not sure why this line is underlined saying it was not initialised
Private xResizeAndCrop1 As xResizeAndCrop
 
Upvote 0

Semen Matusovskiy

Well-Known Member
Licensed User
In B4I you need to call Initialize subroutine before using any class method.
No need to worry about a custom view due to LoadLayout. But for standard class you need to call Initialize explicitly.
 
Upvote 0

tsteward

Well-Known Member
Licensed User
Longtime User
In B4I you need to call Initialize subroutine before using any class method.
No need to worry about a custom view due to LoadLayout. But for standard class you need to call Initialize explicitly.
Thank you, that helped me to re-look at my code and realise that I had a copy and paste error in the designer.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…