camera question

davek

Member
Licensed User
Longtime User
please explain the following in your(erel) camera example

Sub Camera1_Ready (Success As Boolean)
If Success Then
camera1.StartPreview
btnTakePicture.Enabled = True
Else
ToastMessageShow("Cannot open camera.", True)
End If
End Sub

where is this sub called from and is success a keyword and
whats camera_1 ready ???????
 

Beja

Expert
Licensed User
Longtime User
Hi Davek

where is this sub called from and is success a keyword and
whats camera_1 ready ???????

The sub can be called from anywhere according to the software code.

so success is NOT a keyword, I am sure,
and you can use it for any other purpose in your code.

(original comment corrected)

hope u find this helpful.
 
Last edited:
Upvote 0

davek

Member
Licensed User
Longtime User
i am just a beginner at this and i dont understand where you get
a sub parameter from or the ready part of the sub . where can i find them referenced or written down.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…